Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
You should be able to reinstall Office via your account.
Activation shouldn't cause any issues, unless you also changed some of the hardware (hard drive or motherboard, for example).
If you do see activation issues, you may have to contact Microsoft support via https://support.microsoft.com/contactus.