The Gosmore routing engine starts at the nearest suitable road node, so if you put the place name on or near a pedestrian road and you are planning a route by car then the routing algo will choose the nearest road where cars are allowed.

So it is not necessary to put a place name on a road (not from routing nor rendering viewpoint).