The PS3 would take a lot more work from scratch, but the hardware signing keys have been leaked so it's possible to run modded firmware.
I have some in my shed somewhere hacked to run the devkit and debug firmware on a retail console - I also fixed a couple of trivial bugs in the Linux SDK that was leaked, and thought about cheekily submitting patches to Sony.