Yes, you can transfer all your playlists to Apple Music using
several apps available
on the App Store, including Houdini and FreeYourMusic.