A counter example is Cuba is now one of the most progressive countries when it comes to LGTBQ+ rights. Good Communists push to support all sexualities and genders but the material conditions of the country can limit and slow that development.
Russia has been capitalist again for 20+ years and yet it isn’t a bastion of freedom for these groups.