Let us consider a classical Hamiltonian system composed by $n$ particles, namely, a Hamiltonian function $H:\Lambda\to\mathbb{R}$ where $\Lambda\subset\mathbb{R}^{2n}$ is the phase space. Then, let us write the Hamilton's equations of motion (HEoM) $$ \dot{q}_{l}=\frac{\partial H}{\partial p_{l}},\qquad \dot{p}_{l}=-\frac{\partial H}{\partial q_{l}} $$
It is well known that the solutions of the HEoM is a curve on the phase space $x:\mathbb{R}\to\Lambda $ which actually lies on a certain energy level set: $$ \Sigma(E):=\{x:=(q_{1},\ldots,q_{n},p_{1},\ldots,p_{n})\;|\; H(x)=E\in\mathbb{R}\}. $$
On the other hand, $\Sigma(E)$ is a hypersurface embedded in $\mathbb{R}^{2n}$, therefore, the Hamiltonian motion is something like a flow on a hypersurface.
Therefore, my question is
Is it possible to deduce the metric tensor $g_{\Sigma(E)}$ on the energy level set $\Sigma(E)$ (having only the Hamiltonian function) such that the HEoM can be rephrased into geodesic equations, i.e.: $$ \frac{dq^{i}}{ds}=g_{\Sigma(E)}^{ij}p_{j},\qquad \frac{dp_{i}}{ds}=g^{kj}_{\Sigma(E)}\Gamma_{ji}^{l}p_{k}p_{l} $$ where $\Gamma^{i}_{jk}$ are the Christoffel symbols of the hypersurface?