Sure. I've built a docker container with baresip that registers as an extension. It also has a python script that captures the RTP streams then forwards them out to a multicast group.
I will do a full write up soon, I've got one of my guys onsite installing it for a customer right now, so when he's done I can provide a bit more info and share my repo.