Haiti pulls that off under capitalism too. Wider context is a bigger part of that than who owns the means of production.