As glS says, if you can transform a single pure state $|\psi\rangle$ into another $|\phi\rangle$ with the same marginals, then there always exists a way of performing the transformation using a unitary of the form $U_A\otimes I$. You can easily see this in terms of the Schmidt decomposition of the two states. While this is always possible, it does not mean it is the only form that can achieve this. After all,
$$
U|\psi\rangle=|\phi\rangle
$$
only defines one row of the unitary matrix, and there remains much freedom in the way it can be completed. I don't know if that's what the question meant, but I read it as asking to enumerate all those possibilities. Practically, that's not a very interesting thing to do.
On the other hand, if you demand a $U$ for which any bipartite pure state's marginals will be preserved, then, yes, $U_A\otimes I$ is the only way of writing this. We start to prove this by noting that $U$ must not be entangling: by definition, an entangling gate takes some separable state and makes it entangled, and hence there must be at least one state for which the marginals are not preserved. Thus, $U$ must be of separable form, meaning it's either$^1$
$$
U_A\otimes U_B\qquad \text{or}\qquad (U_A\otimes U_B)\cdot\text{SWAP}.
$$
In this first case, it's trivial that $U_B=I$, which we can verify simply by examining the action of $U$ on separable basis states. In the second case, a similar examination would require
$$
U_B=V_BV_A^\dagger
$$
where $V_A$ and $V_B$ are the unitaries that convert some basis into the Schmidt bases of the two systems. This is clearly state dependent and therefore cannot work in general.
$^1$ I'm confident this is true for two qubits. I believe it's true for higher dimensional systems, but there's always a risk that my memory is being coloured by working with qubits too much.