Stumbled over Installing and containing custom applications/software
I found https://ownyourbits.com/nextcloudpi/ has a script that configures a complete server on top of basic debian that might be if ... then... elsed
to leave out what freedombox already has in place.
And there is a package for yunohost.