Terraform and Azure Recovery Vault

Does terraform work with Azure Site Recovery ?
We have a VM that is built using terraform in Azure but the Application team maintains the software installations on that VM and those software’s are not automated so re-installing them is a pain but the VM backup is taken using ASR for DR purposes . So the problem is when ever we want to rebuild the VM we would like to do it via terraform code which brings VM to a clean state and then we would like to restore the data ( software installs from the Azure Site Recovery backup) . Is that possible has someone done that before?