How do you create an OS X ISO if you already have access to an iMac?
The only option you have is to have your friend download the installer and create a ISO image. The other options are p2p.

However, when you click 'I Agree' on the EULA, you are stating that you have a legal license, i.e the VM running OS X is hosted on a Mac.