I've been commuting for several years using a Wally World mtn bike. I've had no troubles at all. I keep the chain and gears reasonably clean, keep the correct air pressure in the tires, and use slicks rather than knobbies. I commute about 8.5 miles each way.
I would bet that your huffy will make the 5 mile commute just fine.
__________________
1 bronze, 0 silver, 1 gold