nextCloud and similar have the sync photo functionality and could probably be glued together with this without to much effort. That said I also use Google Photo even though i have a servers and stuff for other personal uses.
On Android something like Syncthing could be better for the job.