This is a question for University authorities.
Changing your scientific interests, you need to put a lot of your own work into learning new knowledge. Do you think you can handle it?
Amedeo Avogadro was a doctor of canon law - and how much he did in chemistry and physics. During his studies, August Kekule changed interests from architecture to chemistry and did a lot in this field.
As you can see, some have succeeded.