Hello
It won’t completely answer the question but you may have a look to the Docker images of Osmose here: osmose-backend/docker at dev · osm-fr/osmose-backend · GitHub
It involves osmosis and could inspire further work if it hasn’t already been done yet.
Cheers