I know there's a similar-ish process for accessing Spanish social security services online at least, and I believe it's the same for some other services as well.
Then again, Spanish public services are not exactly the gold standard for digitalization.