Well, I'd like to think you can reward XP for heroic acts in D&D, albeit not a standard rule but more like a suggestion in the DMG. Then again, almost everything in the Dungeon Masters' Guide are guidelines, suggestions, and variant rules for DM to introduce in the game.
You are right, the DM has to create opportunity for the PC to shine, but that's half the ingredient. The players has to be able to pick up and seize the opportunity, or out of the blue come up with a risky plan. After all, a heroic act usually involves some high risks. Hence the saying "you are either brave or foolish."