With high salaries you have high tax brackets. Probably 40-50% total marginal tax rate with state, federal, and all the misc taxes. Being able to subtract your mortgage interest and the fact that your "rent" is going to pay down equity, on paper at least, your living costs are actually lower. Even more so if you have roommates.
Factor in 4-10% appreciation with leverage (10% down = 1000% leverage) so that becomes a 40-100% annual ROI.
Work in the bay area for about 10 years when you are young and then sell your house. You can buy another house somewhere cheaper for cash and then retire.
Might also be possible to just rent out the house in the bay area. The rent should cover rent some place cheaper and have plenty of additional cash flow to live on each month.