Cuba isn't the only place to present this kind of profile. So does Sri Lanka, to some degree, as well as the case Amartya Sen made famous, the indian state of Kerala. So: (1) Cuba does deserve high marks for improving the life chances of its citizens, but (2) a revolution, let alone a revolution that installs a police state and a personalistic dictatorship, appears not to be a necessary condition for gains of this sort.
On the other hand, had the Cuban Revolution not installed a police state and a personalistic dictatorship, it's quite possible that it wouldn't have survived the decades of U.S. assault in order to make those gains.