Not entirely free, since you're still paying maintenance on the roads in your territory and any you made in "no man's land", not to mention the upkeep cost of the worker(s) used to build the road. That being said, the influence gained per gold spent is probably better than straight up gifting...