MNblockhead
A Title Much Cooler Than Anything on the Old Site
Sure, but that's a modern secular legal system.I would suggest that alignments are both philosophically and practically incoherent, and therefore characters be treated like persons who are responsible for their specific actions and the degree to which those actions are acceptable both to themselves and in their current context. In Canada, you can't go to jail for being evil, but you can for committing a violent assault.
In a fantasy world with gods being an objective in-game reality, some extent of it is "good" because our god of good said so. How codified this is, depends on the world building. But in settings where the gods are somewhat unknowable, mere mortals often have to make act based on fairly vague guidelines.