I would do it provided the route was flat, protected (bike lane or path), and short (up to a couple of miles).
The 'protected' part would be especially important for me. If I'm going to be riding in traffic, I want something a little more nimble to dodge around the unexpected.