As an alternative, you can leverage the runtime api library and create your endpoints to run the scripts.
Note that you always need a revit instance to run the code into; this is exactly what design automation does, running a headless instance of revit and executing the addin with the provided files and parameters