It absolutely is making fun of all sides. But in the same way Blazing Saddles made fun of all different kinds of Americans.
There is still very clearly a righteous protagonist and a nefarious antagonist. The nature of the story is absurd, but the message is crystal clear to anyway with half an ear listening.