Yes, it’s okay to replace damaged components. Damaged load-bearing parts must be replaced immediately as they pose a safety hazard. The parts of the pallet racking that are not damaged do not need to be replaced.