Via this Cloud Function you can automatically disable new users.
To deploy this, replace with yours and deploy via command line with:
gcloud functions deploy block-signup --runtime nodejs10 --trigger-event providers/firebase.auth/eventTypes/user.create --trigger-resource <PROJECT-ID>