The short answer is no. However, in our add-on repo there's a Bluetooth audio device switcher that is functionally similar to what you need; it detects the connection of the BT device (over d-bus) and auto-switches the Kodi audio output from alsa to pulse-audio. It's probably not impossible to extend that or plagiarise the device switching code to work with other devices (USB devices don't generate d-bus events so another method of initiating the switch is required) but if you don't have the developer skills to do that yourself the challenge is always finding a willing volunteer who does.
Ah well. Thank you anyway.