Always good to do AP classes if possible, downside in the UC system is if you have too many credits, it could be a bad thing when I went (20 years ago). Maybe it’s different now, but if you major in engineering, your classes are pretty much set and many upper division classes are only offered once a year so it’s really hard to graduate in 4 years. Maybe they will be ok with it now since I read about kids with like 15 AP classes now and some crazy 4.6 gpa.
With some classes curved and then failing half (half gets a C- or lower), that alone will keep you another year around college (good times though!).
My brother almost got kicked out of UC since he had so many credits from being double engr and pre-med major.
I also had a ton from taking other “fun” classes and changing majors and always had so many units that I always got my classes since my registration times were the same as people a year ahead like you said.