And it would be morally disgusting if it did not protect the inalienable right of all of its people to participate in the democratic process and to be equal citizens before the law.
Not so much.
Federation law would dictate how it's members interact with each other. Not the rights of citizens on individual member worlds.
Isn't that what the Prime Directive is all about? Making sure societies aren't interfered with and are allowed to evolve in their own way.