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.
On the paper, Turkiye is a democracy. In reality, since 1950's it was not. It is a dictatorship or oligarchy at best, funded by the big money of the world, mostly from the US. Rigged elections, placing puppet governments (like Tayyip) is an ongoing theme. At the time of election, people are given the impression of who they are electing as it is in a democracy, while the result is already known by the powers that be.
Other than few military takeovers of the country since 1960, this country have never had fair and clear elections. Hence, Tayyip's puppet government has ben brought to action by the same powers that be, to decimate the Turkish armed forces, so, no more of those nasty military take-over actions can be repeated.
Turkiye has turned into a Banana republic for what it is worth.