Switching between local and remote states

We are looking at using localstack to test and develop some of our deployed resources from Terraform without affecting the resources in our AWS dev account. This seems like a nice solution, but I want to use the exact Terraform templates. Is there a way to change the provider and backend dynamically. It would be nice to specify the default aliased provider for aws at the command line and have multiple backends that could also be defined at run time so nothing in the files has to change just what you provide when you call terraform apply --default-provider aws=aws.local --backend local. If there are other viable solutions please let me know.