I modify servos this way to run really small models.
Servo motor/speed controls are great for those little 1-72nd scale Lindberg tug boats,
1-700 scale battleships, and
1-72nd scale tank mods.[8D]
No reason why you can't use it as a linear actuator.