@Arunkumar Duraisamy Thank you for reaching out to us, As I understand you want to create a user using Graph API with email like ******@gmail.com or
******@ymail.com.
Yes it is possible to create a user (post call in graph) using with mail attribute as per your defined value. Refer to this https://learn.microsoft.com/en-us/graph/api/user-post-users?view=graph-rest-1.0&tabs=http example 1 has the steps on how to create a user, you just need to add mail attribute in the request body, below example
Let me know if you have any further questions, feel free to post back.
Please remember to "Accept Answer" if answer helped, so that others in the community facing similar issues can easily find the solution.