You do have to pay attention to the road surface yes. There are places on our hacking route that we never trot on because they're a bit too smooth to offer grip, but this isn't usually a problem in such a rural area as our roads tend to be too rough if anything! But tbh horses can slip on any surface if the conditions are wrong, including sand schools (in fact my old boss ended up in a coma when her horse slipped in the school :frown

. It's just common sense to keep an eye on the ground conditions when you're riding, whether you're on the road or elsewhere.
I often hack our New Forests behind the carriage when Pif & Paf are out exercising, the boys do most of their driving in trot and the Newfies pound along behind - really good fitness work.
I wouldn't intentionally canter on the road if I didn't have to, but mostly for the worry of meeting a car and not being able to stop in time to get out the way. If we do need to do a bit of canter on the road I don't really think much of it, and it does happen unintentionally sometimes if the horses are a bit fresh and decide that trotting is getting boring. Jam has been trotting on roads for 13 years, alongside eventing and SJ, and has never had a lame day in his life.
In Portugal a lot of our riding was on hard, dry, uneven tracks up in the hills. The Brits who came out with us were often a bit shocked that we cantered on such hard dry ground, especially when my boss mentioned that she hadn't had a lame horse in 8 years!