> It looks like a great option compared to someone who just got their PhD, sure. But long term I'm not sure if that's such a great option.
Why? I am sure we can agree that SWE domain has its own set of disadvantages, no?
Many people I know have been burnt out in their 30s on their jobs and are unable to continue with the same capacity in their 40s, not to even mention 50s, and later ages. What company wants to hire a 40+ or 50+ year-old SWE? Not many. I am not sure how is that any better than being physically worn out? Physically worn out you can organize work, and hire other people to work for you, but when you're mentally worn out there's not much you can do really.
Avoiding the burnt-out syndrome trap alone isn't enough. You can also easily become unemployable because (1) you're either not good enough for hi-profile jobs demanding maybe 95th percentile skills on the market, (2) you cannot work 50-hour long weeks under high stress continuously because of social and existential aspects of your life (family), or (3) you're simply over-qualified for many other jobs on the market so there's a real risk attached to employing you.
Being a plumber or electrician OTOH does not bear these type of costs or risks so, with things put into a ~20 year context, and given the today's picture of the market, I am also not really sure I would favor SWE over being a plumber or electrician or carpenter.
Many of those folks over here where I live earn 6 figures, and mind that this is only what they report (!), the actual figure is likely 2x as much since the preferred way of paying for the bill is cash (without invoice).
OTOH to break into the 6 figures territory as a SWE over here you need to become a recognizable domain expert - for me it took ~15 years to build the expertise other people believe I am exceptionally good at, and are therefore willing to pay for it. This is far from being easy and there's only of handful such people (in my area) since it takes an unreasonable amount of time and stubbornness to reach that point, barring some other factors of course too.
SWE domain might have been lucrative ~15 years ago but the dynamics in SWE changed dramatically in the last ~20 years. And as we see now with the AI, the change seems not to be declining.