Question Swapping motherboard

BrokenRT

Distinguished
Dec 19, 2011
15
0
18,510
If I replace my motherboard can I just swap my two M.2 SSD’s and just need a new windows key? I know I’ll need to likely update drivers but will I run in to any other issues?
Gigabyte B550 Aorus Elite AXV2 rev 1.3
Windows 10

I think my motherboard is bad and I bought the same motherboard to replace it. Can I just swap cpu, ram, SSD, and boot it up?