Does your NextCloud sync in the background like iCloud does? I don't believe third-party apps have access to background usage, unless something has changed since I last used iOS.
Nextcloud app also exposed itself as file provider in Files.app, so it's possible to use it in place of iCloud Drive for apps that use the appropriate API. (Unfortunately most apps use CloudKit, which sync over iCloud.)
You’re welcome.