i am about 90% sure it is the motherboard causing the problems (Tried a new PSU, RAM, reseating the CPU). Plugged in a SSD with Ubuntu on it, i keep getting notification asking if i want to restart every few minutes even though there are no updates pending and i haven't pressed the power button.
I agree with you, everything seems to point to the motherboard.
Have you tried unplugging the front power button? These can sometimes leak across the contacts. Or maybe the switch isn't fully releasing and a temporary fleeting contact is being made. It's worth a try.
It would be unfortunate if all this is reduced to a simple button But you could be right.