Yes, it's possible, but you'll need to use an online service or an app to do so. There are various options available to transfer from Spotify to YouTube Music, which we've detailed in our dedicated post.