It worked for me, and my main use of Apple Music was through my Sonos, though maybe a few percent listening to music on my iPhone in the car. I had completely forgotten about the web interface to Apple Music until I read this article, and finding my replay playlist was the first time I ever used it. (It says that I listened to 472 hours of music this year.)