I have not heard of anyone placing their heater actually under their gravel nor have I read in the manuals of my submersible heaters that it is a recommend application. Unless you could contact the manufacture of your heater and get confirmation I would have to advise against it.
It is still easy to hide a submersible heater by keeping it low in the aquarium and simply putting décor in front of it.
*** NOTE ***
Not all submersible heaters can be mounted horizontally. Check your manual first!
In the picture I’ve highlighted my heater otherwise it pretty much out of sight.
heater.jpg