... what do you mean by "more advanced"? The default/efficient approach with Safari is content blockers (i.e. a precompiled list of url patterns to block in the engine itself), but extensions can also include javascript too.
1Blocker - a well known 'traditional' safari content-blocker - does this for example, to provide ad blocking on sites like YouTube.
I've found that AdBlockers on Safari don't work well at all. I have 1Blocker on my iPad, and not only does it fail to block YouTube and many other ads, it also seems to slow down Safari and induce crashes + memory leaks.
I have to admit I don't use 1Blocker for YouTube ads. I use Vinegar, which isn't strictly speaking an ad blocker - what it does is replace the custom YT player with a native platform player (i.e. regular controls you get with a plain <video> element)...
this has the side-effect of removing all Youtube ads, and you get familiar controls for the video player.
I can't say I've seen any issue with performance or crashes due to 1blocker being active, on phone or Mac (I have on my iPad too but dont use that device any where near as much as the phone/mac)
1Blocker - a well known 'traditional' safari content-blocker - does this for example, to provide ad blocking on sites like YouTube.