There have been numerous suggestions along these lines. In general, you should look up what you're suggesting to make sure it's not a common post.
But yes, it would be nice to be able to quickly switch ammo. I think the easiest way to do it is simply by allowing the ammo in your ammo slots to be cycled by right-clicking when holding an item that consumes ammo.