Running a MacOS/ OS X virtual machine is not anything new and has been supported for quite some time, as long as you are running said VM on a supported hypervisor with Apple Hardware. **NOTE: This is completely for experimental purposes and is unsupported by both Apple and VMware**
Create a macOS/OS X VM on VMware ESXi 6.5 & VMware Workstation 12.5.2 Pro