There is in fact a way to plug in your own whitelist if you use Firefox Nightly [1]. It's a bit of a hassle though, and it's so obscure that I'm fairly sure almost nobody is aware of it.
[1]: https://blog.mozilla.org/addons/2020/09/29/expanded-extensio...