Suppose that $Y,U$ are independent random variables such that $h(Y)=U+Y$ for some (Borel-measurable) function $h$. Then $U=Z:=h(Y)-Y$ and $U,Z$ are independent. So, $U$ is independent of itself. So, $U$ is constant almost surely (a.s.): $P(U=u)=1$ for some real $u$. Vice versa, if $P(U=u)=1$ for some real $u$, then $h(Y)=U+Y$ a.s. with $h(Y):=u+Y$. Thus, if $Y,U$ are independent, then there exists a (Borel-measurable) function $h$ such that $h(Y)=U+Y$ if and only if $U$ is constant a.s.