It used to be feasible before the announcement. Though there are some cases where using the Windows 7/8 key still activates Windows 10/11, it is not guaranteed that it will work again.
On the other hand, since you have already upgraded to Windows 11 before changing the hardware, you can only use the activation troubleshooter to reactivate the system. Kindly follow the guide provided at the link below.
https://support.microsoft.com/en-us/windows/rea...
In the link, please proceed to the "Reactivate Windows 11 after a hardware change" section.