Any action expressed as the integral of a 4-form in 4-dimensional spacetime is diffeomorphism invariant. For example the following 4-form topological (Pontryagin) action $$ S = \int F\wedge F $$ is diffeomorphism invariant, where $F$ is the electromagnetic field strength 2-form. This action has nothing to do general relativity or gravity.
General relativity is usually alleged as the result of diffeomorphism invariance. But should we say that general relativity is resulted from local Lorentz gauge invariance in stead of diffeomorphism invariance?
Diffeomorphism invariance is rather a general condition satisfied by all actions pertaining spinors/fermions, Standard Model gauge fields, gravity spin connection (local Lorentz group) gauge field $\omega$, and Lorentz-covariant tetrad/frame field $e$.
For example, the massless Dirac spinor fermion action is a 4-form (thus diffeomorphism invariant) of exterior product of 3 frame field $e$ 1-forms and the co-derivative $(d+\omega)$ 1-form (for abbreviation, Lorentz indices are not shown here and only the Lorentz gauge interaction $\omega$ is included), $$ S_{fermion} \sim \int{i\bar{\psi}e\wedge e \wedge e \wedge (d+\omega)\psi}. $$
The local Lorentz gauge action for gravity is a 4-form (thus diffeomorphism invariant) of exterior product of 2 frame field $e$ 1-forms and the Lorentz curvature 2-form $F_{\text{Lorentz}} = d\omega + \omega\wedge\omega$, $$ S_{gravity} \sim \int e \wedge e \wedge F_{\text{Lorentz}}. $$