Ray McCarthy
Sentient Marmite: The Truth may make you fret.
Yes, theoretically. Ship mounted ones currently have short life so are prototypes. The Slugs can accurately hit over the horizon targets. Hypersonic, so too fast to be intercepted and much cheaper than cruise missiles. US DOD is working on a truck mounted version. Probably needs a 2nd articulated truck as PSU.The actual slug is launched at hypersonic speed by means of electromagnetic induction, a la railgun.
If you figure how to have better energy density in a PSU / Battery backpack rather than same weight of chemical propellent / cartridges I see no issue. Maybe LPG and fuel cell, or miniature Fusion reactor backpack. There WAS a backpack atomic warhead that was to be used as munitions, and a version for a man portable recoilless tripod weapon that looked like a bazooka with a calor gas size atomic warhead. That series of weapons, which WAS tested above ground in Nevada is believed to be only a little larger than the theoretical minimum size for fission bomb and the smallest atomic warheads made. Photos on Wikipedia
I thought of pulse rifles in my SF. Issue is weight of cryogenics and PSU. So I didn't explain at all how it worked, except it was more powerful than a carbine / rifle but limited "shots" before the backpack is recharged / refreshed. So they have regular style weapons too with chemical explosive cartridges and slugs (aka bullets ) referred to as carbines or pistols depending on size.
More exotic weapons only used in space and regarded as inferior to "smart" missiles and large kilometre long rail guns.
So the issue with a "rail gun" type rifle is the superconductors (maybe near room temperature ones can be discovered, most need liquid helium, though some materials have worked in lab at liquid nitrogen temperatures) and the electrical power, which obviously has to be generated somehow. Hypersonic will need more power than the supersonic of regular dumb slugs propelled by an explosive. Currently batteries aren't anywhere near that density!
So I see no difficulty. There are only technological hurdles, no breaking laws of physics needed. Plausible, though advantage over existing carbines / rifles for a hand mounted weapon is dubious. Certainly for larger things like ships, a rail gun makes shells obsolete. They use a nuclear reactor for power!
A cast iron slug at hypersonic speed has FAR more energy than same size High Explosive Shell. One ship launched slug is more destructive than a non-nuclear cruise missile (which can take atomic warheads!).