I have done that thing.
It is illegal because you can not run Mac OS X on any hardware except Apple hardware.
But I still did it lol. It takes a lot of time and patience. To tell the truth its not worth it. It a big pain in the a**. There are driver problems, you have to see if your PC is compatible, theres quite a lot of hard work. In the end, in my opinion its just not worth it because the OS does not run flawlessly.
I would highly recommend going for a used Mac or a new iMac or Mac Mini and when you have finished you can sell it on some auction website. If you dont want to sell it, the Mac will come in handy for other stuff. You can also 'borrow' a Mac form someone. Or ask IMC to let you use one of their Macs for a few days at their place.
Using Mac OSX on a PC is just not worth it.,