I can't think of any good way to implement such things. Any system that forces or encourages the use of alignment is just going to frustrate those who don't want to deal with it. Indeed, I've only found that such things impede roleplaying rather than enhance it.
I can't help but think of Fate's aspects. D&D alignment was (is?) a way to *compel* characters to act a certain way, but the players got little out of it (except, historically, access to certain classes like paladin, and certain spells and magic items that cared), and certainly nothing like Fate's ability to *invoke* an aspect to allow the player to effect the story.
Maybe that's a fair quid pro quo that can work in D&D too; alignment lets the DM tell you how to play your character sometimes, but in exchange, you get to sometimes tell the DM how to write their adventurer.