It's unclear what "hard" means in a RPG, but there some that truly require the players to choose the right actions and moves, and that luck be on their side. I wouldn't consider D&D to be one of those, since it's a pretty forgiving RPG that allows unoptimized play.