Is there any democratic system that is safe from democratically voting to dissolve the democracy and replace it with whatever autocracy/kakistocracy/oligarchy we've got now?
No, every country is one election away from this shit-show.
Which is why under no circumstances you should ever elect anyone who will send yours in that direction. Canadians, take note, the CPC only detached its lips from Trump's backside because they needed to come up for air.
At minimum, don't elect people who staged failed coups. They and their supporters will not ever act like they are bound by law.