Android Update

Can I automate my bluetootn connections??

I have a Pixel6a and a aftermarket radio in my car. Normally wihle not in the car I have my hearing aids connected to my phone so I can take and make calls. When I start up the car Android Auto kicks in and connects my phone over Bluetooth to the radio. This is just fine. The issue is when leave the car I need to restat Bluetooth to reconnect to my hearing aids. Is there a way to have my phone sense when I leave the car and reconnect my hearing aids automatically??