At The End of the WW1 Would it have been possible for the Entente to dismember Germany. Also In event of that happening would Bavaria become a Communist state?

by KDC003

In the last week of the first world war Germany faced an uprising against the monarchy. Bavaria declared itself an independent communist state if the treaty of Versailles had Germany dismantled would Europe have a communist power in western Germany to deal with?

If You Find Any Of My Facts Wrong please feel free to correct them!

KDC003

I'm curious to see how much influence communism had on the end of the war Germany.