- about the DnD universe:
Just to be sure: In 5E the outer planes and dieties are still tied to an alignment?
- about computer games:
I prefer the way how BG3, Disco Elysium or The Witcher games do it compared to old DnD games.
You chose to do something and these actions have consequences, thats it. There is no alignment displayed when you chose something.
The game can give tags to you because of your choices and it can show you these tags or not.
I agree that actions define your alignment, not the other way round.
good example: Any char can chose to poison an importent NPC and your alignment moves towards evil if you do. Good clerics or paladins may get problems with their god.
bad example: Having evil alignment is a requirement to be able to poison someone.

Prof. Dr. Dr. Mad S. Tist

World leading expert of artificial stupidity.
Because there are too many people who work on artificial intelligence already