I believe this feature request from 2018 is the first request for this feature - vote here Self Hosted: ability to limit registration to specific domains which can be added in Self Hosted Admin - Feature Requests / Password Manager - Bitwarden Community Forums