No, you cannot change your optional subject after clearing prelims. Your optional is chosen in the prelims application form, and the same subject carries forward to mains. This is why choosing the optional at the application stage needs careful thought.
Home/mains