I think it is possible, but it would require lots of scripting:
Add a "fired" eventhandler to the plane, add fake-ammo to the plane. When the AC130 fires its "fake-ammo", the eventhandler will be triggered and it will create the real bullets.. Now you have to set the bullets velocity and direction.