Yeah I wish it auto engaged and disengaged, I don’t see a reason why you’d want to be in park, but with the parking brake off.
it is possible to do with some sort of canbus intercepter, since the parking brake can be controlled over the canbus but I’m not sure if the parking brake is one of the authenticated canbus modules on newer cars, and you’d need somewhere on the body control canbus to tap into as well so you can tap into it, behind the eyesight camera is easiest to access, but also complicated wiring.
if it is authenticated, which it probably is on new cars then you’d probably be best taking the center console apart and tapping in under the parking brake controller, I’d say chances are there is a module nearby that reads from the canbus to control the LED on the parking brake button, as well as send the deactivation signal when you press the button