just fyi, but this already exists via platforms like invidious, which is like a self-hosted youtube proxy that you interact with, and it dumps files to disk/etc. there are some other similar things already too.
not that you shouldn't use yt-dlp, because it's great!
and yes, as others mention - you can have yt-dlp use sponsorblock to cut out the ad sections too.