Not really, no, communism was just a useful foil to demonize, to justify the ideology of nationalism, machismo, and rigid social roles that they wanted for complex psychological reasons. People want things for lots of reasons besides material conditions, and that is what Marx didn't understand.