If you want to, you can use custom functions that fulfill requests to your other database and then have that be exposed on your 8base graphql API. Check out resolver functions here. https://docs.8base.com/docs/8base-console/custom-functions/
That said, it really depends on how you want to manage your project, as maybe would be easier to migrate certain tables/data over to 8base.