It is not inherently piratical to create a Hackintosh, as it is possible to do so using a legally-obtained copy of macOS. It is prohibited to get macOS from unauthorized websites like torrent sites. It's also crucial to remember that the terms of service for macOS from Apple forbid installing the software on non-Apple hardware. Making a Hackintosh may therefore be viewed as a breach of Apple's terms of service, and Apple may decide to take legal action against those who do so. You must be ready to assume full responsibility for any problems because installing macOS on non-Apple hardware may void the manufacturer's warranty.