Adding a complete online office capability just via an app

Is there a way to add OnlyOffice or Collabora directly just by installing a Nextcloud app?

I know there is both an OnlyOffice and a Collabora app that helps connect them into Nextcloud, but it still requires me to install the respective office suites onto separate servers and or subdomains. Can’t an app just be created that will also tightly integrate the office suite into the existing Nextcloud, maybe via a docker container that gets dropped when you install the app?

Or another option of just creating a Nextcloud version that fully integrates OnlyOffice or Collabora, literally just install “Nextcloud X OnlyOffice” or “Nextcloud X Collabora”.

A version like that would make it painless to deploy an entire Nextcloud solution with one install on a single server.