Hybrid nextcloud installation

Hello, i would like to install latest version of nextcloud in my fresh new nas with OMV4.
I don’t want to use the full nextcloud docker image, it’s only for a perso usage with a limited number of users
I’ve tried to install without docker but needs php > 7.0.3 which installed with OMV4. It seems not advisable to upgrade OMV4 with latest version php for nextcloud.
Is it possible to run a docker image with php-fpm and run the nextcloud 16 installation in the way to use the latest docker version of php ?
That is to say : nextcloud, nginx, mariadb without docker and php-fpm with the latest version in a docker image ?

Thanks a lot