It does mirror real world history though. It's rare (if any) for a good government to come out from a revolution. Even the US had to stumble after its revolution against the British.
In my country after our revolution in the 80's where we overthrew a dictator, things did not go smoothly even if the next government was a popular one and we're still feeling the effects today.
In a way, it appears the New Republic had over-corrected after the Empire was overthrown. They're trying so hard not to be the Empire.
For example, the Empire built armies (we're seeing this in The Bad Batch) and now the New Republic is demilitarizing. They had all the good hardware from the Empire but they do not want to use it so they are leaving large swathes of territory unprotected. Another example
is how they treated prisoners. We saw how the Empire treated prisoners in Andor. The New Republic is trying to "reform" prisoners instead ending up bringing potential spies into their fold.
And yet, in some levels, there are still like the Empire. The leadership of the rebellion comes from the same elite that empowered the Empire. We see it in the scene in Coruscant here where the wealthy do not care at all because to them, it was all the same (the Republic, the Empire and now The New Republic). It is this wealth that empowered the Empire and it is also this same elite that is empowering the New Republic. It is also probably the same elite that will give rise to the First Order.