I think learning at your own pace is perfectly fine, so long as your okay with mitigating / dealing with inefficiencies of roadblocks. It depends on the topic, but I'm assuming this is towards computer science / webdevelopment in general
Online learning is cost-effective though. You can effectively specialize in anything computer-science based for less than $100 with all the free content / cheap MOOC's available. Or you could attend a live seminar / webinar etc where you can work with other people, etc. But this comes at a significantly higher cost at a faster learning rate.
Why not take the best of both worlds? It all boils down to the best value for the buck
1) Learn things online at your own pace, 2x speed, playback as necessary.
2) Take the extraordinate amount of money you would have spent elsewhere, use a fraction of the cost with hackhands / make your own ad-agency for hiring upwork specialists in issues you have. This scales indefinitely, now you always have an expert on hand and consequently, form a long term business relationship with. There's no roadblocks anymore.
3) You get on demand help onpar with in-house training / tutoring, assuming its a popular topic. For example, learning nodejs /react. There's tons of qualified tutors that will charge $1/minute from india/europe with hackhands and/or similar.
4) There's always forums and or Q/A on MOOC's who have had similar issues to you. Assuming its a popular course. Stackoverflow / reddit / etc is always available too
5) Techmeetups and my city's dev channel has lots of great people. Also, techtalks to explore different topics
Learning on your own effectively does require a small investment paying for tutors, but its significantly cheaper and arguably sometimes even more efficient than learning through a program.
I know exactly what I'm getting everytime, from the comforts of my own workarea. No wasted time driving, 2x playback speed, triple monitor setup/mechanical keyboard, on-demand tutoring within 5 minutes, etc. I don't have to worry about the instructor being subpar compared to what I can find online.