Matvei Bronstein: Theorical physicist. Pioneer of quantum gravity. Arrested, accused of fictional “terroristic” activity and shot in 1938
Lev Shubnikov: Experimental physicist. Accused on false charges. Executed
Adrian Piotrovsky: Russian dramaturge. Accused on false charges of treason. Executed.
Nikolai Bukharin: Leader of the Communist revolution. Member of the Politburo. Falsely accused of treason. Executed.
General Alexander Egorov: Marshal of the Soviet Union. Commander of the Red Army Southern Front. Member of the Central Committee of the Communist Party. Arrested, accused on false charges, executed.
General Mikhail Tukhachevsky Supreme Marshal of the Soviet Union. Nicknamed the Red Napoleon. Arrested, accused on fake charges. Executed.
Grigory Zinoviev: Chairman of the Communist International Movement. Member of the Soviet Politburo. Accused of treason and executed.
Even the secret police themselves were not safe:
Genrikh Yagoda : Right-hand of Joseph Stalin. Head of the NKD Secret Police. He spied on everyone in Russia and jailed thousands of innocents. Yagoda was arrested and executed.
https://en.wikipedia.org/wiki/Genrikh_Yagoda
Nikolai Yezhov : Appointed head of the NKD Secret Police after the death of Yagoda. Arrested on fake charges, executed.
https://en.wikipedia.org/wiki/Nikolai_Yezhov
Everybody was absolutely terrified during this period. At least 600 000 people were killed and over one million people were deported to Gulags in Siberia.


I mentioned my library on the subject to indicate that there is no simple answer to that question, and probably not even a single answer for all situations/locations/peoples. The theory of non-hierarchical societal structures is an entire field of study, and the practice of it, like all anticapitalist movements, is always stamped out to the greatest extent possible by those in power. There are however existing examples of anarchist or pseudo-anarchist communities.
The EZLN of the Chiapas region of mexico has largely maintained autonomy since the early 90s, and the Kurdish resistance movement in Rojava (inspired by the writings of Abdullah Öcalan) has established similar autonomy despite the ongoing war efforts.
On a smaller scale, you’ll find “intentional communities” around the world, most of them taking elements of Libertarian Socialism in the ways that are most feasible and useful to them.