Might be a little late to the party, but if you've got another Mac at hand you can create a USB Installer. Might be able to just wipe it completely and re-boot with that.
Sounds more like a hardware issue, but sometimes it works out the other way.
But ... the M2 is a nice chip :)