I’d also like to plug ReVanced. You do have to provide your own copy of the YouTube APK (easily downloadable from APKMirror), but it allows you to install multiple patches into the app, including Return YouTube Dislike, SponsorBlock, and other stuff. It allows background play and blocks ads, too. (You can see the list of available patches here.)