I had an older computer where the CPU died, and it exhibited exactly these symptoms.
See if you can find someone with a compatible system, and try to swap some parts back and forth to rule out which are the broken ones. If you can find another DDR4 system and put your RAM sticks in, then you'll know whether your RAM is actually broken or not.
Sometimes a BIOS reset can also help when the system can't POST.