Ack Ack, there is no way that the guns in a real life P-38 fired the way you describe them too. Very slight mechanical differences in the firing mechanisms would in just half a second "un-synch" the fire of the guns to be what we have now.
Spring strengths (recoil operating guns), powder differences, primer burn rates, etc., to just name a few, all play a role of when each gun and then each shell fires. Now multiply this by four guns, and over ten rounds per second.
Do you really think that all 4 guns are firing at the same time? (or even within a tenth of a second of each other).