Spotify's Collaborative playlist feature lets anyone add songs to a playlist, as long as they have a link to it.
If you want to switch from Spotify to Apple Music, you can use a third-party app to transfer your playlists.