Hello,
Could you clarify your current setup? Do you have Windows 11 Pro installed on two separate drives (HDD and SSD) on the same PC, with a dual-boot configuration, or is your setup different?
One important point to note is that you cannot transfer a digital license from one Microsoft account to another. However, you may be able to transfer the license from one device to another. I think this is what you are looking for.
For example, if Windows 11 Pro is linked to your Microsoft account on PC 1 and you want to use the license on PC 2, install Windows on PC 2 and sign in with the same Microsoft account. Then run the Activation Troubleshooter, select “I changed hardware recently,” and choose your previous device to try to activate Windows.
Likewise, if you want to install Windows on a different drive in the same computer, install Windows on that drive and sign in with your Microsoft account. Then run the Activation Troubleshooter to try to activate Windows on the computer you are currently using.