Is there any Lie groupoid structure on $Hom(\mathcal{G}, \mathcal{H})$ where $\mathcal{G}$ and $\mathcal{H}$ are Lie groupoids?

As Dmitri points out, given a cartesian closed category $S$, the groupoid of functors and natural transformations between fixed internal groupoids $X$ and $Y$ is again an internal groupoid: this result goes back to Charles Ehresmann, but it is not difficult to write down this construction directly.

However, since you mentioned the infinite dimensional manifolds of smooth maps between manifolds, then I'd like to push back against Dmitri's claim of 'almost never', since you clearly aren't just thinking of manifolds as being finite dimensional.

In

  • DMR, Raymond Vozzo, Smooth loop stacks of differentiable stacks and gerbes, Cahiers de Topologie et Géométrie Différentielle Catégoriques, Vol LIX no 2 (2018) pp 95-141 journal version, arXiv:1602.07973

we show that given a finite open cover $\{U_i\}$ of $I$, or of $S^1$ with the property that triple intersections are empty, the hom-groupoid $\mathbf{LieGpd}(\check{C}(U),X)$ is a Fréchet Lie groupoid for any finite-dimensional Lie groupoid $X$. Here $\check{C}(U)$ is the Lie groupoid with objects $\bigsqcup_i U_i$ and morphisms $\bigsqcup_{i,j} U_i\cap U_j$. A priori this is just a diffeological groupoid but we show the spaces of objects and morphisms are Fréchet manifolds and the source and target maps are submersions (in the strong sense that there are submersion charts, not that tangent spaces map surjectively).

In the short announcement paper

  • DMR, Raymond Vozzo, The smooth Hom-stack of an orbifold, In: Wood D., de Gier J., Praeger C., Tao T. (eds) 2016 MATRIX Annals. MATRIX Book Series, vol 1 (2018) doi:10.1007/978-3-319-72299-3_3, arXiv:1610.05904, MATRIX hosted version

we make the more general claim that given a compact manifold $M$, and a finite open cover satisfying a certain minimality condition (and a topological condition on finite intersections of their closures), the analogous hom-groupoid is also a Fréchet Lie groupoid. The longer paper containing the more delicate proofs for this case is still in preparation, but halted due to other commitments by its authors.

I suspect that these results might be able to be pushed a tiny bit further, say to the case where $\check{C}(U)$ is replaced by the analogous thing that arises from a finite open cover of a compact orbifold, but that is just intuition, we aren't pursuing that line of inquiry.

Added I should have said, given a compact manifold $M$, the groupoid $\mathbf{LieGpd}(M,X)$ is Fréchet–Lie as well. If one is wiling to have more general smooth manifolds, then taking $M$ to be non-compact this is a Lie groupoid modelled on merely locally convex spaces. The topology has to be chosen carefully, it's the sort of thing my co-author Alexander Schmeding works on.