yes, all the standard-sized locks (5/8, 7/8, 1 1/8) should all be the same diameter and the same shape, just different lengths to accommodate the varying depths of the door materials and cabinets.
it's possible your coin door has slightly undersized holes and the locks may need some persuasion to fit, or that your doors have been bent and the holes are no longer of the original size and shape.