Access to books is not the same as access to a structured course with experts explaining the topics.
YouTube classes can be very good to learn something specific, but do not achieve the organization of a university program.
In my country, university classes are public a d anyone can attend for free. You pay for the degree only. If it is formation you want, you can attend classes.