Hi,
I don't think this is possible at the moment. Currently, the scripting API exposed by vRO plug-ins is fully available only in classic Javacript runtime.
One possible workaround would be to utilize public vRO platform REST API and call it from Python, using some Python REST client. Not exactly the same as the full-blown scripting API, but I guess it's better than nothing