You already can ban anyone who ends up in your prison for committing a crime.
Correction: you can ban anyone who ends up in your prison for doing something
the game considers to be a crime. If someone ends up in prison for attacking your military forces, you can't ban them, can you? Even though Keplerstan has passed a law that says that attacking Keplerstan is a crime punishable by death?