You can buy insurance to lessen the blow of walking away from a wrecked car.
https://locktonmotorsports.com/hpde-insurance/
There are other companies that offer coverage as well.
Edit: imho I tracked knowing I could lose my car, I couldn't afford another 86 at the time but knew I had the cash to buy a Miata or something within a week and my life wouldn't grind to a halt. I agree with Angel, autocross is great car control practice, I stopped doing hpde because I found autocross more fun.