Do you want to connect Apple Music to Last.fm? You can do that with the method introduced in this post.
How to connect your music app to last.fm · Exist
How do I connect Apple Music to Last FM : r/lastfm
Syncing external scrobble listens back to Apple Music : r/lastfm
See recommended music on iPhone - Apple Support
How to Connect Apple Music to Last.fm on Desktop & Mobile
Music Player Lollypop added to PureOS Store for Librem 5 Phone and Laptops – Purism
How to Connect Last.fm To Bandcamp
How to Connect Last.fm to Spotify to Track Your Listening Stats
How to connect your music app to last.fm · Exist