Only two ways I know of and both require a third party app. There may be other apps that do this and other solutions. I know if your iCloud Apple ID has Photos on it will go right to the Photos app on Mac. I'm just not sure if that also happens on Windows.
Anyway, Dropbox has an autoupload feature. Goes to a Camera Uploads folder inside the Dropbox folder. Just need to turn it on. Google Photos operates in a similar way. Do note that turning on the autouploads feature of these apps mean they are scanning in the background and that can lead to increased battery use.