Yes, as long as you are able to demonstrate adequate preparation for your new field and explain why are you changing fields.