No, there is no centralised account service for the Fediverse, the accounts are owned by the individual websites (so in your case, lemmy.ml). The different softwares can then interact over the ActivityPub protocol, but how this works depends on the two softwares and what is currently implemented.
Lemmy currently cannot interact with Mastodon directly, but Lemmy communities and users will show up on Mastodon for people to follow and interact with. Lemmy users can interact with posts and comments that Mastodon users post on Lemmy though.