There are two solutions I’ve used:
1. Content blockers for safari are sold in the App Store. Not bad.
2. A private Pinole instance on a vps. Just set your phone to connect to it. There are turnkey docker installs of this now.
Neither are perfect / have quirks. I def recommend pinhole. I thought it would be a pain to set up, it wasn’t and it’s great.