I don’t recommend it for the reasons already mentioned above. I’d recommend getting a used Mac mini if you want to reduce cost.
To get a Hackintosh to work flawlessly you’d need to find a hardware configuration where you can use 100% native Apple drivers. It’s very tricky but possible (at least in 2010 when I built one). Back then I had no problems building apps with Xcode or Corona. I could even do online updates of the OS without problems.
In 2011 I got an iMac and have never looked back. If you want to submit apps to the Apple App Store, I don’t think it’s worth the risk of having your apps removed for breach of the Apple Developer Agreement. Also you’ll never know if an Apple update will break your setup not to mention the fact that you can’t get official support from anyone for hardware/software issues.