And they were forbidden to do so because the thought of armed blacks was anathema to the South. That's why virtually all of the so-called "black confederates" were laborers enticed to work for their freedom . . . not the 'rebel cause.'
The closest that blacks ever got to actually carrying arms for their Confederate masters was in late March 1865 when some black laborers drilled in Richmond, but without weapons.