I don't know how remotes work, physically, but they gotta send some sort of code to the TV. If your TV's OS can intercept that message it can choose its own response mapped to whatever you want to happen. Something akin to remapping keys in your keyboard.
I like your reasoning. I'm a libertarian myself, so I get it.
But I held my nose and voted Democrat the last two Presidential elections because I think Trump is a uniquely dangerous person. I hate the "this time is different" argument, but I actually think it applied this time.
If you literally replaced the firmware, what else could possibly be phoning home?