Do you using Exchange on-premises? If so, you will could create hybrid with Exchange online, then you could create Exchange online achieve for Exchange on-premises mailbox. In this way, emails will be moved and stored on Exchange online, users will still could search those emails from their mailboxes:
For more detailed information, you can have a look about this article: Create a cloud-based archive in an Exchange hybrid deployment
If the response is helpful, please click "Accept Answer" and upvote it.
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.