Using your product key is straightforward:

wmic path softwarelicensingservice get OA3xOriginalProductKey

Yes, but only during the free upgrade period (ended) or via clean install. As of 2025, Microsoft still allows Windows 7/8.1 keys to activate Windows 11 if they were previously used for an upgrade. New builds generally require a Windows 10 or 11 key.