A cloud-based identity and access management service for securing user authentication and resource access
I don't believe there is. These fields are just open unrestricted strings, to my knowledge. If you were to try to implement this, you'd have to use something other than the Azure AD portal (for things that CAN be edited there) such as PowerShell or MS Graph API, and then apply any validation there.