You can use the manual procedure to migrate your mailboxes from Google Workspace to Office 365. To read more about the manual procedure, visit this guide on migrate from Google Workspace to Office 365. It will help you complete the migration with the help of step by step procedure.