Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
When you activate an Office licence, that licence becomes permanently associated to the Microsoft account used at that time as a digital licence, and there is no native method provided to move the licence to another Microsoft account.
If you need to move that licence to your personal account, then you will need to contact Microsoft Support directly to ask them if it is possible for them to move the licence for you, try using this method to contact their support.
Go to this link: https://support.microsoft.com/contactus
Select Microsoft 365
Click 'Get Home Support'.
In the box provided, type billing.
Press Enter, then on the next page, scroll down and click 'Sign in to Contact Support'.
Navigate to Microsoft 365 and Office - Manage my Subscription.
Select the 'Chat with support agent in web browser' option