Apart from breach of contract (which is already mentioned), there’s also the practical issue of acquiring a license. Apple no longer sells licenses for macOS separately. This means that getting ahold of a macOS license without resorting to copyright infringement will be difficult.