I think this is the correct way of doing it. Anyone can start their own instance and their own federation.
It'd actually be a massive breach of freedom if you were somehow not allowed to shut out servers from your Mastodon federation—kind of like not having the freedom to block someone on Twitter.