MusicTextAM will allow you to create Apple Music playlists based on the text with names of songs. Just paste the text with songs into MusicTextAM and let the app do the rest. MusicTextAM will look into Apple Music and find all available songs.
Create Apple music playlist from text!