In big tech? One can pocket an avg 100k/year. Less in first few years, more later on.
That isn't "quit immediately and coast" money, but several times a juicy down payment in the bank and a guaranteed MINIMUM 200k USD/year for the rest of your life IS set for life IMO.
It is not several times a juicy down payment if you live where near any big campus. And a lifetime salary above 200k in tech is not a thing. Tech is riskier the older you get unfortunately.
A compromise would be joining a Unicorn that is post IPO but is hiring like crazy and growing fast. Hang onto the company stock rather than diversifying into index funds hoping it will grow much faster than average/split etc. No risk and big rewards.