The deeper problem with this supposition is that it assumes a conceptual identity between the notions of Hamiltonian and energy, and this is an identity that is not correct. That is, discernment needs to be applied to separate the two of these things.
Conceptually, energy is a physical quantity that is, in a sense, "nature's money" - the "currency" that you have to expend to produce physical changes in the world. On a somewhat deeper level, energy is to time what momentum is to space. This can be seen across many areas, such as Noether's theorem, which relates the law of conservation of energy to the fact that the history of a system can be translated back and forth in time and still work the same way, i.e. that there is no preferred point in time in the laws of physics, and likewise, the same for momentum with it being translated around in space and still working the same way. It also occurs in relativity, in which the "four-momentum" incorporates energy as its temporal component.
The Hamiltonian, on the other hand, is a mathematically modified version of the Lagrangian, through what is called the Legendre transform. The Lagrangian is a way to describe how that forces impact the time evolution of a physical system in terms of an optimization process, and the Hamiltonian converts this directly into an often more useful/intuitive differential equation process. In many cases, the Hamiltonian is equal to, the system total mechanical energy $E_\mathrm{mech}$, i.e. $K + U$, but this is not always so even in classical Hamiltonian mechanics, a fact which indicates and underscores the basic conceptual separation between the two.
In quantum mechanics, the "energy is to time what momentum is to space" concept manifests in that it is the generator of temporal translation, or the generator of evolution, in the same way that momentum is the generator of spatial translation. In particular, just as we have a "momentum operator"
$$\hat{p} := -i\hbar \frac{\partial}{\partial x}$$
which translates a position-space (here using one dimension for simplicity) wave function (mathematical representation of restricted information regarding the particle position on the part of an agent) $\psi$ via the somewhat-loose "infinitesimal equation"
$$\psi(x - dx) = \psi(x) + \left(\frac{i}{\hbar} \hat{p} \psi\right)(x)$$
for translating it by a tiny forward nudge $dx$, likewise we would want to have an energy operator
$$\hat{E} := i\hbar \frac{\partial}{\partial t}$$
which does the same but for translation with regard to time (the sign change is because we usually consider a temporal advance from $t$ to $t + dt$, as opposed to psychologically [perhaps also psycho-culturally] preferring spatial motions to be directed rightward, in our descriptions of things.). The problem here is that wave functions generally do not contain a time parameter, and at least non-relativistic quantum mechanics treats space and time separately, so the above cannot be a true operator on the system state space. Rather, it is more of a "pseudo-operator" that we'd "like" to have but can't "really" for this reason. One should note that this is the expression that appears on the right of the Schrodinger equation, which we could thus "better" write as
$$\hat{H}[\psi(t)] = [\hat{E}\psi](t)$$
where $\psi$ is now a temporal sequence of wave functions (viz. a "curried function", which becomes an "ordinary" function when you consider the wave functions as the basis-independent Hilbert vectors). The Hamiltonian operator $\hat{H}$ is a bona fide operator, which acts only on the "present" configuration information for the system. What this equation is "really" saying is that in order for such a time series to represent a valid physical evolution, the Hamiltonian must also be able to translate it through time. The distinction between Hamiltonian and energy manifests in that the Hamiltonian will not translate every time sequence, while the energy pseudo-operator will, just as the momentum operator will translate every spatial wave function. Moreover, many Hamiltonians may be possible that give rise to the same energy spectrum.
Because these two things are different, it makes no sense to equate them as operators, like suggested. You can, and should, have $\hat{H}[\psi(t)] = [\hat{E}\psi](t)$, but you should not have $\hat{H} = \hat{E}$!