Palpatine's rise to power was based on Hitler's rise to power. So to say it's the results of bad writing is idiotic. It was based on historic fact.
I thought it was based on jullus ceaser rise to power:
You know being very populair, having the masses worship you, commanding the strongest militery force to the point senators dont dare to say no.
It happens quiet often in history that charsamatic figheur's make republic's into empire's simply because they seem more comptend then the republic there "fixing"