Honestly? A rail gun? What was your degree in, anyway?
If - and only if - we come up with a miniature nuclear power plant to power that thing and can live with a CEP the size of Montana, it’s a dandy idea.
I will let the experts speak for themselves. But if there is a way to do something, somebody will figure out how to get it done.
http://www.digitaltrends.com/cool-tech/zumwalt-destroyer-railgun/
http://thediplomat.com/2016/03/u-s-may-field-railgun-on-zumwalt-destroyer/
http://www.popularmechanics.com/military/a2289/4231461/
Luddite!