Democracy even has a built in dictator takeover protocol called "national emergency" and "martial law". They manufacture a crisis and then grab all the power, then corrupt the vote outcomes to stay in power forever. It has happened in many countries, most recently Venezuela.