After you purchase your Exchange standalone license, you should be able to access the Office 365 admin center select settings > domains and add a custom domain that you'll have to verify.
https://learn.microsoft.com/en-us/microsoft-365/admin/setup/add-domain?view=o365-worldwide
Mark this post as answered if it was helpful