Ehhhhhhh, not unless you have independent wealth from somewhere or are inheriting a functional farmstead. Take it from someone who's been doing this for years and started only a few years older than you are now; It's hard, there's a steep learning curve, you need land to do it on, there will be some horrible, horrible losses you aren't prepared for. At least once everything will fall apart and you will be left with nothing to start over with. If you don't have security that will leave you homeless and in debt and extremely downtrodden. Literally legally bankrupt.
I can do this because of my partners and their income. The reality is that most homesteads and small farms have at LEAST one full time income off farm that pays most of the bills. Many have two and homestead part time. Many large farms have two incomes as well (one farming one off site)- farming is just not secure or reliable. Homesteading is even worse.
Also, most farmers these days carry at least a bachelors degree. Agriculture degrees are worth looking into and yes, they are hard to get as any other STEM degree. There's a lot of science and business that goes into them. For example, I know someone in the area who runs permaculture nut farm. They're also a college math professor and their wife is a VMD. Another person I know who homesteads is also a webpage designer and tech consultant full time. Another does gig work at a dance caller and has another income through her partner. I've never met a single person in eight years of doing and living this who didn't have at least 1 outside income if not more.
Which isn't to say that it can't be self-taught. I am. But.... I have two other incomes in my household, we own our land outright, we have investments, and so we have lots of room to fail. And I surely have on a number of occasions. And that room to fail did NOT come from homesteading, it came from everything else.
I strongly suggest you try not to go into debt to try homesteading, and have a backup career plan in mind. Maybe instead of focusing your life on homesteading only, focus on something homesteading adjacent. A biology degree, a zoology degree, a VMD, a botany degree, a pharmacist program, an ag degree, a business degree, all would be invaluable on a homestead. And then you always have a worth while back up plan in an adjacent well-paying field.
Start slow, try a few things out, so you can learn a little. Always have a backup plan. Expect to need more income than the farmstead can provide. And always hope for the best but make plans for the worst.