Why gut a working MTX ? There aren't THAT many working MTXs out there but they're likely to be more common than just cases & keyboards.
There's plenty of room to mount a PI in the internal RAM/RS232 area. Use replacement RS232 covers and maybe the end plate to bring out connectuons.
"All" you'd need to do then is fugure out how to share the keyboard depending on which CPU is in use.