Coincidentally, I've already been using YouTube as a "music streaming service" for many years --- youtube-dl, mpv, and some Perl scripts holding it all together.

For a more integrated experience, there's also:

https://github.com/mps-youtube/mps-youtube