i think that's kind of what rclone is https://github.com/rclone/rclone
haven't used it yet. i either back up my data with restic or sync it to other devices with syncthing, but those are tiny files (keepassxc dbs)
Rclone doesn't support MacOS extended file attributes. Or it didn't in the past anyway.
Unfortunately rclone for some stupid reason is blocked on my corporate account :(