Yup, that's exactly what I do. I sync over the database and library over to Nextcloud to have it available on both of the operating systems I'm using.
It's also synced automatically to an external hard drive connected to the Raspberry Pi, so I have two backups (one online, one offline) in case something goes wrong.
It's also synced automatically to an external hard drive connected to the Raspberry Pi, so I have two backups (one online, one offline) in case something goes wrong.