My experience with this is that windows 10 is quite amenable to such a swap.
The more similar the original is to the target, the more likely you are to succeed.
If your original windows 10 license is retail, you should have no problem with activation.
If it was oem, you may not be able to activate. and will nave to buy a new license to activate.
Even then, only personalization will be blocked, and there will be a windows activate watermark present on the lower right part of your screen.
If reinstalling apps and settings is a chore, you can give it a try.
If you have any data you value, protect yourself first with external backup.
Assuming you can boot, then install the new cpu/motherboard chipset and device drivers.
There is probably no need to uninstall previous drivers.
They will remain present, but unused.
If the old/new are sufficiently different, it may not boot and you will need to plan on a clean new windows install.