If you install the drive, then boot into the bios and select the new drive as first boot device it should work.
BUT. You may not be able to register it with mocrosoft as win x key usually gets fixed to the mother board it was installed to if that makes sense.