No you cannot as it'd be say "linked" to your motherboard when you had purchased your lenevo
This is what Microsoft has said:
"You can upgrade any components or peripherals on your PC and keep your license intact. You can replace the motherboard with an identical model or an equivalent model from the OEM if it fails. However, if you personally replace or upgrade the motherboard, your OEM Windows license is null and void"