If you have a network share available on your LAN, you might want to try the FolderSync App. It can make your phone sync its photos every time you’re in your WiFi and plugged into the charger.
Alternatively, if you have NextCloud, the NextCloud App can do that for you.
At my job, we run goharbor.io and use its Replications feature to do just that.