Possibly, socialism goes further back than that, to Rome’s model, Nimrod and his empire. Certainly he was the first post-diluvian cult of personality, and got the people organized into many vain construction projects culminating in things such as the Tower of Babel.
You’re probably right.