In order to get a salvage title the car needs to be totaled.
Insurance doesn’t care if there is frame damage. It only cares how much the car is worth, how much it’s going to cost to fix and how much it’s worth at an auction in its current state. They run the numbers and decide if they are fixing or totaling the car.
There is a reason tesla is expensive to insure.