You are talking about hellbanning here or the many other flavors (slowban, errorban and so on)
Have a search for the word hellban plenty of discussion in this topic.
https://meta.discourse.org/t/how-to-deal-with-unwelcome-people-in-your-community/10176
No plans to build this at the moment.