Literally did this 10 hours ago using this guide: https://lemmy.world/post/857701. You need an earlier version apk than APKpure has though (19.16.39). I was surprised with how easy it is tbh. Just had to find a decent site to get that particular apk from but that's a simple Google search away.
Yeah, I did everything the documentation asked of me and did every relevant troubleshooter, just couldnt get that shit to work 🤷
NewPipe, on the other hand, just works perfectly immediately. Other than temporarily falling to Google's evil machinations against alternative frontends once, there's been absolutely no trouble with it.
One thing most guides don't show is that you have to match the YouTube app version with the suggestion. They implemented a handy search search button which searches for the needed app version in your browser too.
But if you do not need your account then Newpipe is excellent too.