Can I have multiple databases?

In fact, if we have to use strapi as backend for logic, the customer details should be stored in another DB (maybe mongodb) so that logic and customer data are separate