Yes, great point - you can define and deploy your resources to LocalStack using CloudFormation (either as YAML or JSON files). This makes it very easy to maintain and exchange stacks in a platform-neutral way.
Btw - we're also offering integrations for Terraform (https://registry.terraform.io/providers/hashicorp/aws/latest...) and Pulumi (https://github.com/localstack/pulumi-local), among others.