This happens all the time, and the criticisms are, in my mind, directed at policy as much as anything about the people having “totalitarian tendencies.” In Muslim countries, in particular, like Turkey and Egypt, totalitarianism is usually invoked to keep out proponents of political Islam. Erdogan was replacing authoritarians who maintained Turkey’s secular regime against a religious populace. When Egypt’s dictator fell, the people replaced him with a member of the Muslim Brotherhood. Then a military dictator toppled him to restore secularism.