The answer is yes. Given that the domain has a real analytic boundary the construction is standard. A Schwarz reflection can be performed locally near each boundary point, which together with normal analytic continuation produces the sought extension. In general, I propose the following approach. Assume that $f(D^2) \subset g(D^2)$. The critical points of $g$ (and $f$) form a discrete set by the aforementioned similarity principle. Away from the critical points $\phi^{-1}(\mathrm{Crit}(g))$, we can write $\phi=g^{-1} \circ f$ and in this way obtain a unique continuation along small punctured discs covering the boundary of $U$. However, since $\phi$ is bounded along the boundary by assumption, the removal of singularities theorem can be applied to complete $\phi$ over the punctures. (As a particular case, which however is no longer relevant given the new general formulation of the question: Every biholomorphism $\phi$ of $D^2(r)^o \subset \mathbb{C}$ which has a continuous extension to $D^2(r)$ extends to a *biholomorphism* of the *Riemann sphere*. Here we use a Schwarz reflection along $\partial D^2(r)$.)