The seal, which basically operates under pressure, will expand into the gap made by the pitting and get cut up by the rough edges
Also , even if the pitting were as smooth as the dimples on a golf ball, brake fluid will fill the pits and once past the seal will leak that fluid into the big wide world, or in this case onto the brake pad
Also also, once the pitting has emptied itself of fluid into your brake pads it will then carry air back past the seal into the caliper and make the brakes spongy
The number 2 piston from your original pics shouldn't do any of these things as the pitting is way below the working area that the seal contacts. If you wish to give it a good polish and ease it gently through the seal it should've ok
But.....to get either of those pistons out of a caliper will have involved dragging that pitting through the seal which will therefore have damaged them and they'll leak anyway.so minimum you're needing a new seal even if you want to use number two piston