if you use apps, it might also make sense to get a VPN based adblocker.
I've had a few content blocking apps on iOS and they've all been abandoned (or worse sold to ad companies).
1Blocker so far has stuck around and stayed high quality.
Even Firefox has one.
Personally I use 1Blocker across iOS and macOS.
IOS does have native content-blocking, which is reasonably effective but nowhere near uBlock Origin. It's similar to the manifest v3 stuff where Google is castrating Chrome. And yeah there are tons of them available for free, which makes sense because they're all just using pretty much just using Easylist[1].
I was previously using Adaway on mobile. I think NextDNS produces the same result.