Hello @Roger Roger ,
Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.
The answer is Yes. Your KMS host can activate the license on any windows server OS and Client OS. There is no dependency on the windows OS running on the KMS host. In your case, the windows server 2022 image in Azure Marketplace has the appropriate KMS client setup key already configured.
A computer running Windows Server or Windows. A KMS host running on a Windows Server operating system can activate computers running both server and client operating systems, however a KMS host running on a Windows client operating system can only activate computers also running client operating systems.
Reference : https://learn.microsoft.com/en-us/windows-server/get-started/kms-client-activation-keys
Please "Accept as Answer" and Upvote if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.