I do exactly the same as you described to fall asleep.
If you ever want to save the money on youtube premium, the Brave browser on iOS lets you listen to YouTube content in the background or with the screen off. Just make sure you enable that feature in it's settings. It also blocks all of the pre/mid/post ads.