Oh, definitely. One of the worst commutes in Northern California is the Altamont Pass, which Interstate 580 traverses. As early as 4:30am there is a long line of cars filled with commuters who live in more affordable Central Valley places like Stockton, Modesto, and Tracy, commuting to either Silicon Valley or San Francisco. These are generally not FAANG software engineers; they do all sorts of other work, such as cleaning offices, preparing food, stocking aisles, teaching students, building Teslas (Tesla has a shuttle that goes from Modesto to its Fremont factory), policing Bay Area communities, fighting fires, and a lot more.
The megacorps also have buses that run to distant towns. People have informal roommate situations midweek and ride the bus home for the WFH+weekend.
Yes - check out Brentwood, Gilroy, etc where middle class Bay Area residents are commuting from. The expense and shortage of non-tech labor is also pushing things like ghost kitchens, coffee robots, self-checkout kiosks, etc.