A Hackintosh is a bootlegged version of Apple's macOS loaded onto a computer that has not been manufactured by Apple and doesn't have a license to run macOS. According to Apple's macOS license,
I. Other Use Restrictions. The grants set forth in this License do not permit you to, and you agree not to, install, use or run the Apple Software on any non-Apple-branded computer, or to enable others to do so.
However, Apple does not pursue any legal action unless the software is being commercially sold, even though Apple is very quick to shut down anything that threatens its business. Many options and techniques are available to prevent Hackintoshes from being created, but Apple does not use any of them and there are no 'hidden security settings' that will shut down Hackintoshes.
This article may explain some reasons Apple hasn't shut down, and even benefits from the Hackintosh.
Considering that Apple could have shut down the Hackintosh, but deliberately chose not to, would it be permissible to create a Hackintosh if one would not be buying a Mac for this purpose anyways?