If you can land a part time job that pays about $60,000-$80,000/year it would be possible, but few exist and fewer young people would be qualified for them. If you can land a fully paid scholarship and can live extremely modestly, or with family, it might be possible. If you have a well paid spouse and an established residence it might be possible. If you can spend ten years or so as a part time student it would be possible, though work would be pretty much full time. If you can go without sleep for four years it might be possible (provided you live through it).
Jobs that are "relevant to study" are hard to obtain for most undergraduates.
There are a few (very few) other possibilities, but generally it is no longer possible to manage this.
While loans may be necessary, there are a few strategies to minimize them. First, of course, is to avoid predatory lenders.
You can possibly continue to live at home, supported by parents while attending a local community college for two years. Some of these are excellent for the low level courses. Some have highly qualified faculty, but qualified as teachers, not researchers.
You can attend a state university rather than a private one, though, some private colleges will have scholarships available that make the cost difference quite low. Sadly, even state university tuition is far too high and reflects poorly on the priorities of legislators.
You can have a part time job, but something that pays more than minimum wage. If you have certain skills, such as programming, you might be able to find something. And with a job, you will need to carefully manage time so that you meet your main goals. And don't neglect your health. Get enough rest and enough exercise to maintain balance.
Some campus jobs may be better than outside jobs. Some might come with tuition reduction. Some might come with housing in a residence hall.
Avoid expensive habits of all kinds.
People laugh when I suggest that you don't ignore the "rich uncle" option. Maybe someone in your family thinks highly enough of you and has the resources to provide some support.