Its not recommended to install other roles on a hyper-v host. Also note that by doing so takes away one of the two allowed rights for Operating System Environments / Windows Servers containers.
You can follow along here for deployment of RDS role.
https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-deploy-infrastructure
--please don't forget to upvote and Accept as answer if the reply is helpful--