Not without D&D existing.Some do...but a whole lot more do not.
And again a lot of superheroes were based on legends and myths.
For example there is super strength, shape shifting, talking to animals, fire powers, lighting powers, magic armor,and magic weapons existed before comic book super heroes.
Comic heroes just kept them popular.