There are a few ways that you do to achieve your requirements.
But you have to disable Apple’s SIP which I don't recommend personally.
So, I would suggest you use this third-party application named as Mac Media Key Forwarder. Use the latest version 3.0 for Catalina.
You can prioritize which app you would like to control or you can go
with the ...
After consulting with Apple it turns out that
Automatic sync should happen every time the phone plugs into the computer while iTunes is running
None of my the iTunes installations did this on macOS or Windows, which is an error
To work around this required manually syncing a folder with a photo in it to the phone, on both windows and macOS separately. ...