Video games, movies, and modern militaries are all full of robotic gun turrets that allow for remotely-controlled carnage.
It’s little secret that stepper motors are everywhere in FDM 3D printers, but there’s no real reason why you cannot take another type of DC motor like a brushless DC (BLDC) motor and use that instead.