I suppose if they use grapeshot, it might be another matter altogether. But look at this, the wiki article on the charge of the light brigade:

http://en.wikipedia.org/wiki/Charge_..._light_brigade

Sure, it was disastrous, but the cavalry still managed to drive off the enemy artillery crews(their main target), despite charging through a valley occupied by a large amount of both enemy infantry and artillery on both sides and at the opposite end of the valley.

Lol, keep in mind, though, that the Russian infantry could barely ever hit their targets. Still...