According to sqlalchemy's description, you can use it.
Database is considered to be a relational algebra engine in SQLalchemy, not just a collection of tables. We can select rows from not only tables but also joins and other select statements; we can make a larger structure by composing these units. SQLAlchemy's expression language builds on this concept from its core.
SQLAlchemy is very prominent for its object-relational mapper, it is an optional component that provides the data mapper pattern, where we can map classes to the database in open ended, multiple ways - allowing the object model and database schema to develop in a cleanly decoupled way from the beginning.
If you want to learn MongoDB, checkout this MongoDB tutorial from Intellipaat.