If you are a closed org, that is. Running your own gitea or gitlab with registration enabled and having to deal with spam is a real hurdle.
Just off the top of my head, that's one thing you can do.
The parent comment was explicitly about non-closed (e.g. private) orgs.