I ride with no hands but only for a short segment of the road where there's not a lot of traffic; I put my hands back on the handlebars once I see cars coming.
And a mountain bike is much easier to balance with no hands. I think it because of the heavier weight and the fatter tires.