Yes. Changing your oath as a paladin is also changing your subclass, so this is something to discuss with your DM. Rules for changing your subclass can be found in Tasha’s Cauldron of Everything. Your DM might require you to train to learn new tenets, or perhaps you experience something that drastically changes your beliefs.