To play YouTube videos in the background while doing other things on your iPhone, you can use YouTube premium or Safari's desktop view mode.
To make a playlist on Apple Music, you need to head to your Music app's "Library" section. There, you can add songs from ...