Scratched piston walls may indeed be from overheating but that doesn’t mean the crank was destroyed by oil loss. If the oil is still flowing and the engine was being “babied” to get it home, the crank may be OK.
Overheating causes the pistons to expand more than normal so they scrape the bore and/or the rings expand so far, they butt ends, break and the sharp broken edges tear up the bore. If the block is still relatively straight after overheating, it can be line bored and honed, the cylinders bored and honed and oversize pistons installed.
Since cast iron tends to move around a bit with heat cycles, the overheated block will be more stable than new.
Example; BMW 1.5 liter, 4 cylinder Formula 1 racing engines from the 80’s used cast iron blocks from junked cars with at least 60K miles on them. Add a racing head, crank, rods and pistons, a HUGE turbocharger and they’d make 1300+ hp for qualifying from a 95 hp passenger car engine!