Very seldom in soils, more usual in water for marine structures. The coating is going to be damaged during driving and will not offer a guaranted protection. Other solution to protect against corrosion is to consider a sacrificial thickness in the wall thickness of the pile ( common solution ) or cathodic protection ( less common and requires maintenance )