you scrobble with your subsonic server or client or spotify to listenbrainz.org which belongs to musicbrainz.org which is the database for music like tmdb or tvdb.
edit: no, listenbrainz is not yet as mature as trakt. considering that listenbrainz is like tmdb, there needs to be another service for music like trakt which isn’t there, there is no working service that does that.