Unlikely to be the same but with my build a couple of years ago I had a similar issue – initially I managed to get Windows installed then had a few blue screens then on about the 4th reinstall attempt I couldn’t even get through it before it would crash. Same with one DIMM in (tried both separately) and temps weren’t an issue. Took it to local PC repair place and they couldn’t figure it out either (they tried other RAM and graphics card), they didn’t charge me as a result which was nice (although I felt a bit guilty as I’d bought all the bits off the Internet and built it myself…).
In the end I figured it must be either the CPU or motherboard and requested a warranty replacement of the motherboard, the manufacturer said the pins were damaged on it (and they could attempt a fix for £90 but couldn’t guarantee it). I was sure I hadn’t damaged the pins but hadn’t taken pictures before mailing it to them so had no proof. In the end I declined their offer and I just bought a new motherboard from a different manufacturer. On fitting it (with the original CPU and other parts) it worked fine and has done ever since.
My story is why I won’t be building my next PC myself and post it as a cautionary tale whenever I see anyone recommending it as a no brainer option. The £100-200 I saved building it myself was lost due to the £250 replacement motherboard cost (not factoring in my time and the hassle factor). I accept it’s rare this kind of issue happens but I still don’t think the little you save makes it worth the risk. My previous PC arrived DoA from overclockers.co.uk, I just followed the returns process for that and had a working replacement a few days later and wasn’t out of pocket.