You can use MongoDB for anything that needs some kind of persistence with Symfony components: Cache, Lock, Session, Messenger; and of course Doctrine MongoDB ODM as your main database.
https://symfony.com/blog/new-in-symfony-8-2-more-mongodb-integrations

symfony.comNew in Symfony 8.2: More MongoDB Integrations (Symfony Blog)Symfony 8.2 adds MongoDB cache adapters and a MongoDB transport for Messenger.
commit 72acc20