You can, but it's a bad idea. The current Windows installation is VERY likely to not work properly if you build a new system, with a new platform, that has an entirely different motherboard chipset and different storage controllers. Even if you install the proper drivers for the new platform, it very rarely turns out to not be problematic. Anytime you build a new system that uses a different motherboard chipset, CPU, etc., that are not the same as the current system (Replacing a faulty motherboard only for example) it is highly recommended that you do a clean install of Windows, which means reinstalling all your programs as well.
The amount of problems and effort you are likely to go through just to save a couple hours of installing the OS and applications simply isn't worth the trouble.
That doesn't mean you can still use the same SSD, but you will want to reinstall everything new with a clean install after building the new system.
You can try it without doing that, but the chances are very good that you will encounter problems. Almost always.