Well if you do chemistry at UCB, you can take any course in any department that you'd like. So you could do chemistry, but take the physics courses for your own edification. However, I would advise against using chemistry to get your foot in the door if your heart is really set on physics...