While it may be possible to use the state management functionality provided by DABs using Terraform, it would require additional effort to synchronize your code and manage state consistently.
The choice would depend on the use case and we should keep in mind that DABs are designed for data practitioners, focusing on application-level needs such as deploying ETL pipelines or machine learning models. They simplify these workflows and eliminate the need for platform automation expertise, making them a more straightforward option for such use cases.
Terraform is better suited for use cases involving platform automation tasks such as infrastructure automation, network security, disaster recovery, workspace management, account-level resource management, etc.