yeah, afaik that will work, will need to install all the drivers for your pc hardware(assuming windows doesn't just auto install them all), and most likely need to activate windows with a key if you want it activated. if your buying a new drive anyway, why not put that in the pc your building, fresh install windows 11, and copy all the stuff you want over? seems like a cleaner option to me, might be a bit more work, but not a crazy amount imo. then just factory reset the laptop before selling once everything is copied over.