With the corrosion above the seat tube, I'd be concerned about all the crack initiation sites. It would just be a matter of time until a crack propagates through the wall of the seatpost tube. Theoretically you could sand and polish out the corrosion, but the reduction in wall thickness not to mention esthetic result may be a deterrent.