Oil primer over latex paint

Is oil primer okay to use over latex paint?