I recently got a bee in my bonnet to "fix" my Fire TV, and I'm so glad I did. It's my dream setup now: A single stock remote control that controls everything with Debian in the middle.
The trick was setting it automatically boot to HDMI1 so I never have to deal with ads or the slow UI. HDMI1 is connected directly to a mini ITX case running bare Kodi with no window manager.
I paired the remote with that machine instead of the TV. And then configured it to either forward the button presses to Kodi (if focused) or forward them back to the television via wifi (which you can do via Fire TV's "developer mode").
IOW, the TV is a dumb display, and all smarts are in the external Linux box you control.
This is completely fine. But it would be extra nice to gain control over the internal computer that also runs Linux, or at least could. It's already built in and paid for, it's just programmed in an adversarial way.