How can I position the object origin precisely on a specific axis?
You can directly move the origin point by checking Origins in the Tool tab > Transform.
To snap it precisely to axis, enable Absolute Grid Snap.

Example of moving origin point with and without snapping