Yes, you can definitely explore both. Being a coroner often means becoming a doctor first! When you go to medical school you'll be able to try out a couple of fields, including pathology. If you decide that you don't like pathology, you can switch focus to another field, or vice versa! The sooner you know the better, but once you know that you want to become a doctor, medical school is an immediate no brainer.