Absolutely, if scientists could figure out how to make a gun give a sudden electrical discharge. It would be INCREDIBLY dangerous and probably not reliable and hard to make a direct hit as the speed of the projectile is going 186,000 miles per second. But yes it is practical