Is rooting just for homebrew or can I get rid of all the advertising and dark patterns?

Pi-hole gets rid of a lot of the advertising, and homebrew gets you an ad-free YouTube client, but dark patterns are still there.