Airplay and bluetooth headset

Is it possible to airplay video from my iMac or iPad to my new Apple TV and still use my bluetooth headset connected to the iMac or iPad to listen instead of TV speakers? Whenever I connect using the airplay icon the audio reverts to the TV speakers.
Have you tried changing the sound output from the HDTV to the macbook? I'm planning to buy an apple tv so I just wanted to make sure.

Original thread: https://forums.imore.com/threads/airplay-and-bluetooth-headset.245461/