There are 3rd-party apps that have near seamless Apple Music integration, at least on MacOS (Scrobbles for Last.fm) and iPhone (Marvis).