Thanks for posting in our Q&A forum.
Yes, you can use “.ir” domain extension for email server.
According to the Exchange Online limits, there is no limit for the number of accepted domains that you can add to your Exchange Online organization. However, there are some limits for the number of recipients, senders, and message size that you should be aware of.
If you are using Azure AD to manage your domains, you should also check the service limits and restrictions for Azure AD, such as the number of objects, groups, applications, and verified domains that you can create.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.