I can see the idea that the OP is suggesting but decades of keygens and hacking have taught us that if someone really wants to use your software without paying, then they will.
I've seen people craft elaborate ways around my own software licensing check when the actual "hack" is jaw droppingly simple (and is all on github), the point is that the people you need to concern yourself with are the people who will pay for a license.
Many pirates still buy games anyway, too.
That said, most licensing checks are simplistic and can be bypassed easily. I mean, this code:
if (licensed) then activate=true
is relatively easy to find and patch around by a motivated individual.
A better way would be to use a key from your key server to encrypt/decrypt their configuration, like with TOTP. But you still would have to make sure they didn't just bypass your encrypt/decrypt code.
My thinking on pirates is: marketers who work for free. Hahaha! :)