Transferring CSU to CSU... possible?

I’m currently a senior in highschool my future goal is to become an ag high school teacher. My dream school is CSU Monterey Bay which does not have the major ag education which i need. So is it possible to go to CSU Monterey Bay and get my general ed done in two years then transfer to Chico which has the major ag ed?