I have a friend that did that, in a 4y stint there, and was happy to get to one of the layoffs phase. He was fairly lucky with the stock price RSUs vs stock price(though he knew a few that were so lucky that their 100k RSUs grant at sign got to like 800k, not that lucky, but yeah, his 4 years of flying to office made him basically "I can retire whenever I please to".
Most of developers don't understand what opportunity they got into to be highly paid eng with RSUs. My friend is managing 500 people in a factory and gets salary that everyone would laugh at here...