I read somewhere that the Americans tried using B17 gunships
The YB40 was a modified B17 intended to escort bomber packages. Only 25 were produced in two batches. The idea failed because once the bombers had dropped their load the escorts could not match their performance