Using PyOxidizer this can be mostly done, but there is some trickery since Starlack in PyOxidizer language does not support building libraries.
Prerequisites
But also there are some things that should be checked first:
Stability
- does embedded python is stable enough
- no memory leaks
- no crashes