Hi, @Mukesh Kumar
Yes, users can belong to both a service account and a mail-enabled security group, whilst also having basic read permissions to ensure that applications have unrestricted access to the user's data. To ensure that applications have unrestricted access to a user's data, service accounts can be assigned the necessary read permissions. This can be done through the Microsoft Graph API.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".