I really thought the whole plot where Palpatine is basically running both the Separatists and The Republic really strained credibility. At least have the reveal that Dooku was a Sith take place in ROTS - make the audience think he is truly a rogue Jedi fighting against a hopelessly corrupt Republic and that The Separatists were actually the good guys.
Yeah - and as a morality tale it’s a bit hollow because it’s so far removed from how these things play out in real life. Real life dictators aren’t far-seeing puppet masters that expertly pull off elaborate conspiracies to seize power. They just take advantage of existing weaknesses in the political system. Caesar marched his army into Rome because he gambled that after years of war, his legion would be more loyal to him than the Senate. Hitler took advantage of a politically divided and economically depressed Germany.
A more realistic scenario would have Palpatine taking advantage of never-ending war to slowly implement more and more “emergency powers” (similar to the Enabling Act that gave Hitler power), until he became de-facto dictator for life. This is sort of what happened, except in the actual movies Palpatine also artificially caused the war in the first place, and expertly directed it towards an intended outcome. (We’re also never told why General Grievous et al takes orders from a mysterious hologram, or why all the thousands of Separatist planets suddenly just stop fighting just because Anakin killed their first tier leadership.) Plus, the movie implies that it was more the botched assassination attempt led by Mace Windu that ultimately cemented Palpatine as dictator than the years of war or the recent attack on Coruscant.