Yes, you can. I’ve built an iOS app that can run a WebDAV server directly on your phone, and also works as a WebDAV client/browser for accessing WebDAV servers. apps.apple.com/us/app/zwind-webdav-server/id6755239096