I think this is the closest thing you can do
https://docs.github.com/en/github/building-a-strong-communit...
https://docs.github.com/en/github/building-a-strong-communit...
But that still means maintainers have to build an active list of blocked users. That's definitely not scalable.