Out of State -> California Community College -> UC Berkeley / UCLA

I really don’t think so because the first thing they review is your high school transcript. Not being from a California High School is a BIG red flag.

Your history will show that you arrived to California primarily to attend school, first living in California for 1 year, then attending a CC.

Most students can’t do this “living independently” without help from parents, either initially or during your stay. Your residency determination office is used to seeing this.