I feel like alignment should just be a very minor thing that develops without the player even knowing.
It could have in game consequences like with dialogue options, but it should be almost insignificant, especially at the start. Like if everyone started with a hidden default alignment of True Neutral, with the actions you take affecting your alignment as you go.
What we definitely should not use are the antiquated class restrictions that alignments gave. The only one I would think would matter is the relationship with your deity if you are a Cleric, and that shouldn't be a restriction either, maybe more like if your alignment shifts too far from your deity then it triggers a quest at your campsite where you either correct your course or choose a new deity, and maybe that's something that every class could even do if we all had the option to choose a deity, Clerics would just be that much more invested because it relates to their class.