That would have been a problem.
MIcrosoft changed its policy rolling out end of 2023, no longer allowing using Windows 7 or 8 license to activate Windows 11, even if you successfully claimed it before.
The new policy does not affect Windows installations that are already activated. However, certain events, such as reinstalling Windows, changing hardware, or updating the BIOS, may trigger reactivation. If your license was originally activated through the old Windows 7 or 8 upgrade path, Microsoft may no longer allow you to reactivate it.
Here are some examples of other users who contacted Microsoft Support and were told they needed to purchase a new license: