Happens all the time; the Soviet Union and China were big examples of that. Stalin’s purges, Mao’s cultural revolution, and the normalization in both countries of the “reactionary counter-revolutionary” thinker who could be thrown in a prison camp or executed for the slightest perceived lack of devotion to dogma.