Hi Agam,
Welcome to the Wix Code forum.
Sure, you can use Accessing 3rd Party Services to access database collections, query them, add and insert, and other database functions.
Use the API documentation and articles about the database as a reference.
Yisrael