Self-registration whitelist email domains

I am developing an application using Xamarin that will only be used by users with a ‘.edu’ email address. I am curious if Okta has built in functionality to only accept users who attempt to register with their email address that is part of a school institution.

For example:

Accepts:
student@mail.school.edu

Rejects:
student@gmail.com

I have enabled Self-Service Registration and see that I can enforce password policies but cannot find a way to set a rule for the email.

I appreciate the help.

I believe its now possible through the Okta Identity Engine verification/validation: