Link to hosted Nextcloud

I’m using a hosted nextcloud and unfortunately my provider does not offer the memories addon. I don’t want to ditch my hosted NC but I thought about running NC on my RaspberryPi just for photo management with memories. Would it be possible to link my hosted NC as a photo source to a locally installed NC with memories?