yes
That is simple for proof of concept. Just Popen bench won’t be sufficient in production. I think you’ll need to involve supervisor or some kind of process manager if you’re not using containers.
You won’t need this if you use containers api. Instead of Popen bench start the container with custom command,
or,
If you choose containers / pods then restarts and process management is handled for you by container engine or orchestrator, you just need to use the api to communicate with it.