Absolutely! It was B52s that put an end to the Tunnels of Ch Chi. It was B52s that broke the "siege" of Khe Sahn. We used them regularly.
"Spooky" was first a C-47 with Gatling guns shooting out the left side and later a C-130, which included a 105mm howitzer. At the battle of Lone Khan (I was at Xuan Loc, division headquarters) a C-47 Spooky shot up all its ammunition, then landed on the airfield under fire to pick up wounded.