At the moment there's no such constraint, although you can adjust elevation of individual nodes so that it does not follow the terrain exactly.
A parameter like that will be added there, perhaps not only to guard the local inclination but also being able to use a coarser detail level as the basis for node positioning. It should also better filter out the changes in elevation, leading to smoother roads.