I like this idea, but its a thing for ck - EU timeframe, that could indeed make world look slightly less stupid.
However In XIX century this "degenerated" Country would rather break apart
I am no expet in coding games, but this, i think, could be created with a new kind of core province, a "super core" or "heart core".
These super core provinces could fixed hard coded ( or very hard to change) and represent the very core of a nation.
Any nation would need to control of at least one of its "heart core" province, if it looses all of them it comes under great risk of colapsing as a nation, other provinces turning to states of their own "heart core".
For example, lets say the USA heart core were the east cost provinces.
If the USA looses all of the east coast, the rest of the country might colapse into other nations, maybe nations around indian tribes