Give assistive access to a single applescript
"Is there a workaround?"  I'd call it the "right" way.

Use the script editor. save the script as an application.  Thus, the script becomes a full fledged  application.  Give the app assertive capabilities.   should you want to start the app from the terminal, open your-app.

What to worry about:
"Effective defenses against malware and other threats" by John Galt
https://discussions.apple.com/docs/DOC-8841