You could connect the soundbar directly to any external sources directly or with an HDMI input selector with audio extraction.
It is possible to modify the TV by connecting a speaker to line level converter to the wires that go to the internal TV speakers. That will give you an audio output, Not electrically complicated but you would have to get inside the TV.