That sounds like a perfectly valid approach to me.
What I often get caught up on, and really hope to see more people in this field consider, is that there's more than one way to live a life worth living. And often to find that, it means walking away from a high-stress, long-hour FAANG-like job, even if your salary suffers.
I've known a few people who gave their 20s to Silicon Valley and didn't have a whole lot of joy to show for it after.
But again, this doesn't mean it's wrong to make the conscious decision to stay in that life. Especially if you've found a way to make it all work and you're happy.