While railguns are known for rapidly accelerating projectiles to hypersonic speeds over the short length of a gun barrel, there's no limit on how slowly they can accelerate something or how long the "rail" part of the railgun can be. Accelerating "slowly" over a long distance is totally possible!