365 Mailboxes from an on-prem perspective EAC are considered MailUsers.
You can filter on that with a new policy.
https://learn.microsoft.com/en-us/powershell/module/exchange/new-emailaddresspolicy?view=exchange-ps
-IncludedRecipients
This parameter is available only in on-premises Exchange.
The IncludedRecipients parameter specifies a precanned filter that's based on the recipient type. Valid values are:
AllRecipients: This value can be used only by itself.
MailboxUsers
MailContacts
MailGroups
MailUsers
Resources: This value indicates room or equipment mailboxes.