Since Android doesn't support browser extensions, I accomplish the same thing using the Bromite browser along with a handful of UserScripts to redirect youtube/twitter/etc to my private instances.
Edit: Yes, I know Firefox for Android supports extensions, but the work required [0] to actually install any extension other than the handful "blessed" by Mozilla borders on hilarity. Firefox for Android seemed pretty good a few years ago, but at some point since then Mozilla has done a full redesign of the GUI and the whole thing now feels janky to me. I tried using it for a couple days and just couldn't bear it. My impression is that Mozilla is letting it languish.
For simplicity, I use the exact same setup for all my family's Android phones (GrapheneOS with a persistent wireguard connection back to the house) and Firefox was just too strange for the non-technical people to use.
In addition, GrapheneOS makes some pretty compelling arguments [1] against FF-based browsers.
Lest anyone accuse me of being a Firefox hater, I do use it on the desktop.
[0] https://www.ghacks.net/2020/10/01/you-can-now-install-any-ad...