Although the answer from Marcus Müller is good, he leaves out an important factor: standardization. This is not the same thing as market share. Wi-fi is a general-purpose protocol designed to carry Internet data. Bluetooth is a function-oriented protocol designed to connect devices that do specific things. Bluetooth has a particular protocol designed to transmit audio. This provides a predefined way for the devices to agree on how to do all kinds of things: audio bitrate, format, channels for stereo and microphone, DRM, and user controls (pause, fast forward, etc).
Wi-fi doesn't have any of this. All of it would have to be implemented in software by the component developer, driving up the cost and increasing the chance of bugs. And since it would be implemented in software, this would seriously increase power consumption on both ends of the connection.
This is where the standardization comes in. Any Bluetooth peripheral can connect to any Bluetooth-enabled computer or phone and they will just work without any particular software. To use Wi-Fi the manufacturer would have to develop driver-level software for half a dozen different operating system platforms (Windows, Mac, Android, IOS, Playstation, Xbox, Nintendo, Linux...), convince the platform's developer to allow it (probably impossible on the more tightly controlled platforms), convince media companies that it meets their DRM standards, and convince the user to install the software. Lots of trouble.
A Wi-Fi enabled soundbar will usually come with its own built-in server that a quickly and easily developed app can connect to, or will function as a client to something like Spotify or Alexa; in essence they just have a built-in app that is a normal client for those services. I am not aware of any soundbars that use Wi-Fi outside of this approach - they usually use a traditional audio connection like SPDIF, HDMI, or even Bluetooth for their general-purpose audio input.
But I think your premise that Wi-Fi just works better in your environment is probably also flawed. You might just have unrealistic expectations for your Bluetooth connection. Bluetooth is a "personal area network" whereas Wi-Fi is designed for longer range and higher power. The concept of Bluetooth is that your earbuds can communicate with your phone in your pocket or your computer on your desk - it's not designed to work from the other side of the house.
As for latency, as others have said, Wi-Fi's latency performance is probably better than Bluetooth's most of the time. But one of the things the Bluetooth protocol does is allow the devices to negotiate the latency, so the player software can delay the video to match. On my earbuds, there is a noticeable synchronization difference between software that knows how to do this correction (Youtube) and software that doesn't (Twitch).
So, to sum up, Wi-Fi just isn't designed for this, and Bluetooth is. Doing it with Wi-Fi would be reinventing the wheel, and it probably wouldn't get any rounder.