I wanted you to see first what I have achieved with my audio editing skills and a camera lens that I had gathering dust in a drawer! I hope you enjoy this silly ear to ear ramble :3
To listen while using other apps, switch the player to Picture-in-Picture (PiP) during playback — it keeps playing in a small floating window (the screen stays on).
To listen with the screen fully off, in-browser playback stops by YouTube's design. Open the video in the YouTube app to keep listening where background playback is supported (e.g. with YouTube Premium).
Open in YouTube app