Mullvad has literally hundreds of exit nodes in dozens of countries. I have a script on my router that switches my exit node to a random one every few hours (a couple of times a day). This means that sometimes, Reddit doesn't like me.
Now, I don't like Reddit, but people will keep posting links to stuff on there so I hit it occasionally. If Reddit is being pissy, I just manually switch my router's exit node to a different one; only rarely do I have to do this more than once.
I've never encountered IP banning from YouTube (and I do use yt-dlp), but if I did, I'm fairly confident hopping exit nodes, like I do for Reddit, would work just as well.