Often, yes. Spinning is usually caused by a knuckle wider than the base of the finger, so the ring is loose once it is on.
A guard adds width and surface against the finger, which reduces rotation, and a pair of guards either side of a ring holds it upright.
A jeweller can also fit sizing beads or a spring insert to the ring itself, which addresses the same problem more directly.