Let the Lagrangian be a functional of $\hat{\phi}$ and $\partial_{\mu}\hat{\phi}$, i.e. $\hat{L} = L(\hat{\phi},\partial_{\mu}\hat{\phi})$, where $\hat{\phi}$ is an operator.
The conjugate momenta is defined as $$\hat{\pi} = \frac{\delta \hat{L}}{\delta \partial_0{\hat{\phi}}}. \tag{1}$$
Let the eigenfunctions and eigenvectors of $\hat{\phi}$ and $\hat{\pi}$ at $t=0$, be defined as:
$$\hat{\phi}(0,{\bf x})|\phi\rangle = \phi({\bf x})|\phi\rangle\qquad\text{and} \qquad\hat{\pi}(0,{\bf x})|\pi\rangle = \pi({\bf x})|\pi\rangle.\tag{2}$$
Question: Based on (1) and (2), is it possible to derive that:
$$\langle \phi|\pi\rangle = \exp\left ( \frac{i}{\hbar}\int \phi({\bf x})\pi({\bf x}) d^3x \right )~?\tag{3}$$
Is the relation (3) valid for any arbitrary Lagrangian $L$?