Sure you can, the compiler would simply call a bios routine to sign the code for your machine. Piracy isn't the only, or even the biggest, concern. Maintaining the absolute monopoly on licensing for releasing commercial software, which every console manufacturer needs, is a big problem when you let the PS3 run linux.