Jim's example is good; I think one can construct examples by using elliptic fibrations. Just start with $$X\times E\rightarrow X$$ and introduce logarithmic transformaions of equal multiplicity $m$ at two fibers $F_1$ and $F_2$. Then $F_1-F_2$ is $m$-torsion. Unfortunately, this construction doesn't preserve algebraicity.

To construct algebraic examples, maybe one can begin with a trivial bundle $$X\times E\rightarrow X.$$ Choose $X$ so that $\textrm{Aut}(X)\supset\mathbb{Z}/p\mathbb{Z}=G$. Maybe one can construct an elliptic fibration by declaring that the monodromy around a ramification point of $X\rightarrow X/G:=Y$ is a translation on $E$ by a $p$-torsion element. Then, we have an elliptic fibration $$S\rightarrow Y$$ with multiple fibers of multiplicity $p$ over the branch locus, whose base-change to $X$ is given by $X\times E$. Since $X\times E$ is an etale cover of $S$, can we can conclude that $S$ is algebraic?