Mac OSX is not possible, sorry. It's only for PPC and x86 and not all of the source is open. Also, it would be very much illegal.
The iPhone's OSX is however written for ARM, but again, no source code, and I don't think it's possible to virtualize it either.