It will depend on your academic performance space availability
If your academic records does not look impressive, they will not allow it.
if there is no space left in the program you want to apply, you can change.
IF both factors are positive, then you can change
But You have to first speak to the head of your department then the dean of your faculty or college