HoMM is a turn-based strategy game, not RPG (with the notable exception of HoMM IV where you had real hero development). That said, there was a genre of RPG’s, which used to be very popular in the 80s and 90s, and which all but disappeared. Those were party-based first-person RPG’s with turn based (or close to it) combat. Popularized by Wizardry, and followed by Might and Magic, they inspired other series like the Ishar Trilogy. Other games employed real-time combat, but slow enough or pausable, to mimic turn-based. Popular series were Eye of the Beholder, Lands of Lore, Dungeon Master, and others. Nowadays, I occasionally see one of these games from independent projects, but it seems that the golden age of this sub-genre has passed.
For post-nut clarity. A genuine reason why my problem solving skills improve when I work from home.