The only exception i can recall right now was youtube but SponsorBlock does great there in Safari.
Safari/iOS blocking is closer to uBlock Origin than to DNS blocking, but is not as powerful as uBO and some sites "exploit" those limitations.
Most serious iOS content blockers ship both a native list (or multiple) and an active counterpart, usually focusing on YouTube ads.
However I am aware that adblocking is still poor on Safari, maybe nobody just can match uBO
Injecting code via Web Extensions is too late for reliable blocking - by then, either the malicious JS you are trying to defuse has already ran (if it wasn't blocked declaratively), or if not then the rest of the page's JS depending on it has already exploded and "fixing" it after the fact (by substituting a neutered shim via Web Extensions) doesn't fix the rest of the page.