The $2$-category of internal groupoids in $Sh(C,J)$ is equivalent to the $2$-category of sheaves of groupoids on $(C,J)$. To see this, given a groupoid $G$ in sheaves,the strict $2$-functor $$C \mapsto \left(G_0\left(C\right) \rightrightarrows G_1\left(C\right)\right)$$ is a sheaf of groupoids. So, there is a $2$-functor
$$F:Gpd(Sh(C,J)) \to Sh_J(C,Gpd) \to St(C,J)$$ which sends $$G \mapsto a(\left(G_0\left(\mspace{3mu}\cdot \mspace{3mu} \right) \rightrightarrows G_1\left(\mspace{3mu}\cdot \mspace{3mu}\right)\right),$$ where $a$ is the stackification $2$-functor.
I claim that $a$ is essentially surjective. Indeed, by the Grothendieck construction, one can see easily that every stack is equivalent to a strict $2$-functor from $C^{op}$ into the $2$-category $Gpd$ of groupoids. Such a strict $2$-functor, is the same as a functor into the $1$-category of groupoids, which is the same as a groupoid object in presheaves (by the same argument). One can sheafify this into a sheaf of groupoids, and then apply $F$ to it, and the result is equivalent to the starting stack.
The fact fact that stacks are equivalent to groupoids in sheaves up to "weak categorical equivalence" can be found in (I believe) in Bunge's "Stack completions and Morita equivalence for categories in a toposStack completions and Morita equivalence for categories in a topos," but can also be proven directly by examining $F$. As far as the internal logic and the axiom of choice, you are on to something, but I am not a logician. But, what I can say, is that the axiom of choice fails, in the sense that not every epimorphism splits in a topos, and if every epi DID split, then the notion of Morita equivalence would agree with the notion of categorical equivalence of internal groupoid objects.
What about higher stacks? Well, one can see this by the fact that given a site $(C,J),$ there is a model structure on simplicial $J$-sheaves whose associated $(\infty,1)$-category is equivalent to the $\infty$-topos of $\infty$-sheaves. Ok, so how does this answer your question? Well, for simplicity, lets work with the projective model structure. There is the global projective model structure on $Sh_J(C)^{\Delta^{op}}$, which does not yet model $\infty$-sheaves and its associated infinity category corresponds to its fibrant objects which are those simplicial sheaves which are object-wise Kan-complexes, i.e., infinity groupoids. It follows that its associated $(\infty,1)$-category is the $(\infty,1)$-category of $\infty$-groupoid objects in sheaves. One can then left-Bousfield localize this model structure with respect to $J$-covering sieves, and one arrives as the local model strucrure on simplicial sheaves, and its associated $\infty$-category is the $\infty$-topos of $\infty$-sheaves. At the level of $\infty$-categories, this localization corresponds to a left-exact localization $$Sh_\infty(C,J) \leftrightarrows\infty-Gpd\left(Sh(C,J)\right).$$ The left-adjoint corresponds to fibrant replacement at the level of model categories, and $\infty$-stackfiication at the level of $\infty$-categories. So, every higher stack arises from an internal higher groupoid in $Sh(C,J)$.