There are many many people who retire early, but not if you look at it as a percentage of the population. I would also say that working hard helps, but in no way guarantees you'll be able to retire early or even be financially secure. More important than working hard is being lucky or smart enough to make good decisions, and working hard enough to take advantage of opportunities.
Retiring after you're 30 is definitely not a realistic goal for most people. But I would argue that it is very possible with some luck and planning to be financially secure when you're in your 30s, and to have for yourself some freedom as a result of that. Example - being able to do hobbies or activities that you love, being able to take time off from work, not being afraid of losing your job because you have a safety net you've built.
So in a round-about way I'd say that the idea of working hard and making good decisions in your 20s does have the benefit of setting you up for more freedom and ability to lay back in your 30s - but it's all very dependent on getting some good luck as well - and if you manage your expectations it can be very realistic and attainable if you avoid pitfalls like gambling, overspending, or just bad luck.
There's also something to be said for following your passions in your 20s as well - but it really depends. If there's something you really enjoy like a sport or art then ofc it's great to pursue that at any time in your life - and "hard work" is not the be-all-end-all. But I would recommend that even if you pursue a passion, you should keep some kind of back up plan for being able to financially support yourself incase you can't find a way to turn your passion into a comfortable life.
Anecdotally I am in my early 30s and live comfortably as far as money because I worked very hard in my late 20s and saved a lot of money. In my early 20s I also worked very hard but made no money because I was investing all of that effort into education, which later more or less paid off.
Because of this I do have the freedom to relax and enjoy my life and I don't have to work hard every single day anymore. That said - it's not like it's a "vacation". I don't have so much wealth that I can afford to live like i'm at a resort - but I don't need to stress over bills or food or whatever.
I'm also not very materialist which helps - I have no desire to own an expensive car or a giant house - and as a result most of the things that I actually want in life I can afford to have. The exception would be travelling around the world whenever I want - but that is quite a luxury - If I ever win the lotto that's what I would do with the money.
I'm not a particularly smart or talented person, and I'm lucky to come from a stable loving family, but growing up my parents definitely were not wealthy, though they were very financially responsible. When I turned 18 they helped me pay for college - and in the end I'd say I paid 80% and they paid 20% which I really appreciate.