Principal ideal rings that are not integral domains

Yes. Such rings are called principal ideal rings. An example of such a ring would be $K[x]/(x^2)$, where $K$ is any field.

In fact, a theorem of Hungerford states that any principal ideal ring is the direct product of quotients of principal ideal domains.