Yes, but quaternions of unit length are a representation of the rotation group in 3D space ( https://en.wikipedia.org/wiki/Representation_theory_of_SU(2)... ), which is how they are used for rotations.
Of course, that the 3d thing you end up with represents rotations in 3d space is extremely neat; and not something all 3d things do.