Unplug/remove any unnecessary hardware. Boot with one stick of RAM, use iGPU in 7700X remove the 4090. Disconnect all peripherals you don't need, I.e. Keep the keyboard and a wired mouse if you have it. Disconnect the SATA drive and the m.2 drive. Boot Linux off a live USB when you've done all this, and see if you're having similar issues.
The other thing I would suggest is to move the entire pc to a known good power source, as your house might have particularly bad power that your PSU can't fully filter out.
Eliminate hardware/software by adding things back one at a time. If you've plugged everything back in and the liveUSB Linux is still working, the issue was with your Windows install. In that case you need to use a known good install media. I would also suggest hard resetting the CMOS by shorting the relevant pins for several seconds as part of this diagnosis process. You should also be on the latest BIOS.