I use pinchflat to download media, then Jellyfin Youtube Metadata Plugin. It works very well, and it's let me block the youtube app for my kids but still give them specific content.
https://github.com/kieraneglin/pinchflat https://github.com/ankenyr/jellyfin-youtube-metadata-plugin

There's a lot of snark, but the idea is this only inhibits pain in the peripheries, so it isn't so psychoactively impacting. You don't get sedated, the addiction profile is way less, and the LD50 means OD'ing is much harder. I'm sure there's dependency potential, but it seems this is NOT recreational, which is huge, and if the sedation is less and you can take this and still function, it could be a game changer, allowing people impacted by chronic pain to re-enter the work force and have a better quality of life:
https://en.wikipedia.org/wiki/Suzetrigine https://pubmed.ncbi.nlm.nih.gov/39775738/