Yes you can change your classes. However, depending on the type of class you’ll change, it may involve spending the necessary amount of gold or gems (premium game currency). Please follow the links below for more information.
We have questions and answers related to this topic which may also help you: