It's possible migrate nextcloud from duckdns to cloudflare?

Hi everyone, I have installed Nextcloud on OMV6 for some time now and everything works great.
For now I access nextcloud via a domain on duckdns.
A few days ago I created a tunnel with cloudflare and I can access on my Home Assistant by typing the new domain, very short and above all easy to remember.
Is it possible to use the cloudflare tunnel also to access Nextcloud? if so, is it a simple operation to do or quite complicated (in this sense I’m a novice).
Thanks and ciao