In classical field theory, when you have a free real scalar field $\phi$ with Lagrangian (density): $$ L = \frac{1}{2} \, \eta^{\mu \nu} \, \partial_{\mu} \phi \,\partial_{\nu} \phi - \frac{1}{2} m^2 \phi^2,$$ where $\eta^{\mu \nu}$ is the Minkowski metric with signature $(+, -, -, -)$, the corresponding Euler-Lagrange equations are the Klein-Gordon equations: $$ \eta^{\mu \nu} \partial_{\mu} \partial_{\nu} \, \phi + m^2 \phi = 0. $$
Moreover, it turns out that after quantization, in QFT, the quantized field $\hat{\phi}(x)$ in the Heisenberg picture also obeys the Klein-Gordon equations.
This vaguely reminds me of the Cayley-Hamilton theorem, which states that if $A$ is a complex $n \times n$ matrix, then $p(A) = 0$, where $p(x)$ is the characteristic polynomial of $A$. Indeed, we know that any eigenvalue $\lambda$ of $A$ satisfies $p(\lambda) = 0$, and the CH theorem tells us that when you promote a generic eigenvalue $\lambda$ to the "operator" $A$, then $A$ satisfies the same equation, namely $p(A) = 0$.
I realize it is a "formal" question for most physicists, but I wonder if what I am thinking of is essentially true.