I think it could be possible (backend is in Python), but for most users a web service has a lower barrier of entry. Could you share your use case? I am curious.
There's nothing special about my use case. It's just that I avoid relying on anything that is only available as SaaS, because it can vanish or change at any time without notice.