Yes, as of version 4.0, MongoDB supports multi-document transactions. This means it can perform multiple operations involving multiple documents, possibly in multiple collections or databases, and guarantee that either all the changes take effect, or none of them do. This brings MongoDB’s functionality more in line with what has traditionally been offered by relational databases.
However, it is important to note that not all MongoDB deployments support transactions. For example, transactions are not supported in sharded clusters in MongoDB 4.0, but support is added in MongoDB version 4.2. Frequent use of transactions might indicate that you are not using MongoDB in a way that plays to its strengths, and there might be a better data model for your use case.