Hi, I was able to connect my soundbar with hdmi arc and at the same time have bluetooth on my earphones using the xiaomi tv box s 4k 2nd gen because there is an hdmi + 3.5mm audio out that play both at the same time. the 3.5mm audio is connected to a bluetooth transmitter.
I hope this will help someone!