Sure, but they usually don’t cost so much to fix. Most engines don’t catastrophically fail and in the given scenario an ICE car would be a better choice than a used electric with a reconditioned batter.
Labor these days is super pricey. Like parent, they tacked on $6k to install a $4k battery. The same thing is happening in auto shops if you can’t DIY a cheap part repair.