Yes. As Microsoft Office and Microsoft 365 are just software applications, they do not depend on which Windows version you are using. You can easily use Office Home with Windows Pro and Office Professional with Windows Home, provided you have the right kind of Microsoft 365 subscription.