For that, there's ProTube[1]. On the surface it behaves like YouTube Premium, under the hood it's just the mobile version of YouTube bundled into an iOS app. I have no idea why ads aren't served, I analyzed the network requests with Fiddler Everywhere and saw nothing nefarious.
It's web scraping, and occasionally falls behind yt changes (2 years ago it was unusable for about a month). It could be described as an arms race, but Google appears to suffer it to live.
I suppose they understand that zero is not the optimal corruption target. (Because, as you asymptotically approach total control, the user cost also rises asymptotically.)
It's not a perfect solution - I have occasionally noticed it leading to some buggy behaviour in the YouTube/YouTube Music sites using Safari, but nothing anywhere near as bad as using those websites without it!
The only odd behaviour I can call to mind was one time that it continued playing audio when I answered a phone call. It was easy to stop the music playing, and the other person on the call couldn't hear the music. I was actually disappointed that the other person couldn't hear the music, and I've been disappointed every time I've taken a phone call since and the music hasn't continued playing. I wish that was a feature :)
I think Vinegar was well worth the small one-time price, and I like supporting the developer. I've heard that Brave allows playing with the screen off, but I like my setup enough that I don't want to install Brave just for that.
I will check what particular settings I have for AdGuard when I get back home this evening. I don't recall anything particularly hairy but it has been a few years.
There‘s a checkbox called “Enhanced Protection” (name might vary, I have the app in another language) that specifically says it’s for stuff like YouTube
Safari with the uBlock Origin Lite extension works well for me - even with "Web page Contents and Browsing History" permission set to 'Deny' for all websites.
[1] https://apps.apple.com/us/app/protube-block-ads-on-video/id6...