Strictly speaking osX cant be installed on pc hardware because of the bios, but look hard enough and you can find the part to make it work.
Try hard enough and you can make pretty much anything pc/mac work, if you're willing to put the time and money into it.
G4 macs pre-date the transition to x86.