Depends on how bad the pitting is. (Maybe a picture would help...) If its not too bad, they usually can be cleaned and polished, and with new pads and maybe a new seal, the pits won't cause a problem. If you use new pads, then the seal will be positioned in a new spot, hopefully avoiding the pits.
Another route, probably better, is to get a new piston. This is possible for some models (but not for my 81 DOHC CB750-K - as I found). In fact, one of the members here builds phenolic pistons that don't rust or pit and the reference above is to him.