If you have a garage you trust, rather than one of the crap ones insurance companies throw everything at, you might be ok.
In the past I've had insurance write a car off, I've disputed (with reason) and requested a second opinion (ie from garage I trust) and then it got repaired through insurance. There was the use of one or two second hand parts, which the insurance co checked I approved of (was underbody plastics, so fine) and off we went.
It was quite a bit of hassle though, mostly due to insurance company's ineptitude and delays, but got there in the end.