It is possible, yes, but you'd have to wait until you were two years in. Most colleges won't look at your high school transcript if you've been out for two years and have over 60 credit hours at school. If you can keep your college GPA above a 3 you can transfer almost anywhere with it. For Berkeley specifically you have to have 60 credits before you transfer. The kicker there though is that the 25th percentile of transfer students into Berkeley have a 3.72 college GPA. If you can keep your GPA at SDSU around 3.75 you should be able to transfer into Berkeley, but keeping a 3.75 isn't easy if you aren't naturally an all-around gifted student to begin with.

If you're a B student (and not a minority) then realistically there is no chance that you'll get to go to Berkeley, unfortunately. There are many other schools with good pharmaceutical programs and there are schools with much more respected engineering programs than Berkeley. Sure, a Berkeley degree is nice and fancy, but at the end of the day it will usually end up as nothing greater than a tie breaker in terms of getting a job.