Dynamic Routes and SQL Db

Is it possible to use a SQL database connection with Dynamic Routes?

I need inbound callers to input a customer pincode, have it authenticate then move to another dynamic route that asks them questions, etc… then update the record with their response.

The customer table is currently on a different server (outside of MySQL) on a SQL server.

Thanks in advance,