Harvie's mention of integrating UxPlay into Kodi let me to investigate whether it might be possible to use a Docker container. https://github.com/xbmc/xbmc/issues/20838
I've put something together quickly which works:
GitHub - markst/plugin.audio.uxplay: UxPlay mirroring server for LibreELEC
UxPlay mirroring server for LibreELEC. Contribute to markst/plugin.audio.uxplay development by creating an account on GitHub.
github.com
Not sure if this is something people would be interested in.