I was suggesting that instead of the pre-installed OS on Vizio TVs (which is Linux and systemd based according to the lawsuit), you could install your own OS and then run Kodi on top of that. Since Kodi already supports running on Linux, it should not be hard to do this setup once the lawsuit concludes and the code has been released and the installation procedure documented. So the platform offered by the TV doesn't matter, because you'll replace it with a normal Linux one and run whatever you want on top.
For the problem of running Kodi on the web and web-ish platforms, maybe WASM is the future? There is also emscripten for converting languages normally compiled to binaries to JavaScript.
For Brightscript, maybe a similar approach to emscripten would work, transpiling from other languages to Brightscript, possibly via JavaScript. Or I guess a second app based on Brightscript.