Rarely is a wiring harness beyond repair unless it has been dunked in water (especially salt water) for an extended period of time. The water wicks way up into the insulation by capillary action and destroys it with corrosion.
If the insulation is pliable and intact, the copper within will be OK.
Brittle insulation will crack and cause all sorts of gremlins. Repair or replace.
Wire insulation can be tested with a Megger if in doubt about its integrity. However, at 12v, automotive wiring isn't at high risk of arcing due to insulation breakdown.
Bad sections of harness can be repaired by splicing with proper gauge wire and proper termination techniques.
The important harnesses (alternator, ignition, and Fuel Injection) are available from Jeff Bowlsby.
https://bowlsby.net/914/WiringHarnesses/