@NanGlase To further assess the possibilities of the "license server" option in real time from AutoCAD, the following needs to be considered:
At the code level, you must:
Check that both the client PC and your own have the same communication port available, and if not, handle this somehow.
Also ensure that the firewall will not block the ports on either the client or the server side.
At the infrastructure level, you must:
Have a static IP or a domain name on the server side so that your code, when executed by the client, knows where to send the request.
In my opinion, although this is an interesting challenge, you should assess whether the effort and investment required are justified by the benefits you may gain.
I believe that, considering all of this, the most reasonable options might be those proposed by @Steven P and @BIGAL.