if other factors were designed into it, and it was either permadeath or there were inns to revive party members. along with making encounters fair. maybe i could see it working.
most roguelikes that revolve around death (like Hades or slay the spire) expect you to die- death is how you end a run, and you have a meta progression currency separate from the in-run currency. That way, death becomes necessary for progress- the only way to unlock new options in each run is by dying.
what would permadeath add to an rpg? the potential for a character youve invested a lot of time in going up in smoke does make for a source of tension, but does that tension make your game more fun to play or just frustrating?
if youre doing a narrative based game, how do you have the plot survive the potential deaths of all the cast members? Darkest dungeon did this pretty well imo, as your heroes werent "you" so losing a given hero doesnt mess up the overall progression of the game. plus Darkest dungeon doesnt actually have a "your save is ruined" fail state- you can always hire more heroes and do low level dungeons to restart the treadmill.
in the first person dungeon crawler rpg stranger of sword city there's a permadeath mechanic. all party members other than the protagonist are player made and have a variable number of heart points (usually like. 4). reviving them in battle or in a dungeon will use up their heart points, and if they die at 0 they're permanently dead. you can restore heart points by paying a lot of money and benching them for like 50 battles, but even with those systems in play the possibility of permadeath is still a powerful motivator. plus the bosses can get really really hard, and in a harder boss fight its possible to go from 5 heart points to 0 or permadeath if you get really unlucky. it adds even more stress to venturing into the dungeons, to the benefit of the overall vibe of the game.
Most people will just reload a save, look up a guide if necessary and play the game without losing anyone. If you prevent that behaviour from happening, people are likely to complain and not finish your game out of frustration.
Not worth the effort imho.