Automatically modify bluetooth settings when launching an app
Depending on Bluetooth device, routing audio through it may only be possible using SCO. Try automating it with Automate (free), it has an Bluetooth SCO set state block.