See, here's my idea. No metal bb's. Instead think of how a piston is used in a springer. Now instead of a compressed spring pushing the piston, a metal rod is "pulled" along by the magnetic forces generated by the coil surrounding the piston cup. Now I know this may take up a lot of energy, but the idea is there and with stronger batteries these days, well... Then compressing air within the piston and propelling the 6mm BB out the barrel. That is one direction of magnetic flow. Now reverse the polarity and the metal rod now moves in the opposite direction "pushing" the slide back creating a blow-back effect. Now cut the electrical flow. No movement. That allows the recoil spring to push the slide back into position and chambering the next round. Then once the last round is expelled, it would lock back like a normal GBB/real steel. Since this would need a strong battery, it could be located in the mag since the bb stack only takes up little room. The trigger acts as the on/off/reverse switch.
I know there are some engineers here that can help me out. Carl, what do you think of this?