^That's funny, because some would never consider the Q gods despite their immortality; while others would accept as gods those whom have died. Maybe it's not so much about the physical form but the metaphysical aspects - and we did see that the Prophets existed in some dimension outside of spacetime, that very well could have some kind of afterlife effect on Bajorans, for all we know. So I guess what I'm saying is that immortality is not a litmus of godhood.
Trek has any number of energy beings/noncorporeal entities:
Q
Bajoran Prophets
Organians
Medusans
Squire of Gothos
Cytherians
Douwd (you remember that all-powerful godlike being, Kevin)
Metrons
Calamerain
Caretaker
Moriarty & Co.
Plus a host of unnamed intelligent nebula matter-energy clouds, some with names (Nagilum), and also, normal humanoids that have shed their bodies to exist as energy - including the Zalkonians - and even the Vulcans. Janeway even encountered an alien "devil" trying to lure her into his "matrix", and she wondered about near death experiences as being (mundane) alien encounters.
I suppose these beings have differing degrees of involvement in the physical spacetime continuum; some aloof, some actively invested in it. Some emerging from this universe, others encountering it from outside.
I guess the lesson here is that we can evolved into higher states of being if we really try. Or also likley, make the universe a computer program like a (Keanu-type) Matrix, where godlike evolution is merely a cradle-to-grave illusion. Or even better, the recorded engrams of once-living beings could be self-aware replicas - who think they are omnipotent, but exist only in a Moriarty server.
This would explain Trump's hair. (Ha ha, I went topical).