You have bodies like Germany or the US, which function as a federation of states. Looking at Germany and EU, you essentially have states within a state within a sort-of state. You can stack governments recursively, so it's possible and in some ways desirable to have a single one at the top level.