if you can find a good teacher and/or a good course, go for it. It can help you learn faster. Some online courses can do well for that, but read reviews carefully prior to buying. Honestly, there are a lot of free videos and tutorials online for this. In my country, and thanks to my ability to self-learn, I have better chances skipping the university and studying myself. Even if I had money for an expensive course, it would be a useless waste of money. If time matters and you want to learn a skill for job specifically, not as a hobby, go for a course. Self-study can get you lost along the way and take longer. But take your time to research your options and choose from thing you want to learn. There are many compelling programs, but they are usually expensive (by my country standards, though, our minimum wage is like no more than 4 dollars an hour).