Easiest practical way to achieve this is to create a throwaway Google+Gmail account (do it in a Private tab, completely unrelated to anything else you use or do), and log into Youtube with it, then rig up yt-dlp for video downloads, using login cookies
for that separate account but
only when necessary (since they're trying to detect yt-dlp doing this and blacklist/throttle accounts).
That or use something like
Youtarr if you're comfortable setting it up manually or grinding out a
docker-compose.yml for it.