New Apple TV 4K
This is an older thread, but with the newer Apple TV 4K, there is a way to split the audio and video from an iPad.
On the Apple TV (ATV) to go setting and bluetooth. Connect your bluetooth speaker.
Then you can share your iPad to the ATV, the video will go to the screen and the audio will go to the setup bluetooth device.
iPad, iPadOS 18