In it's usual form, the Yoneda lemma cannot apply to categories that are not locally small, because, for the functor of points to have codomain $\mathsf{Set}$, the hom-sets must actually be sets.
However, it seems as though one could use the same definition to create a functor from a locally-large category to some category of proper classes, and obtain much the same result.
Are there any issues that could arise in such an approach? Most sources on category theory gloss over set-theoretic subtleties, suggesting that they are ultimately not important, but my intuition is not very good on issues like this.