So on that side, yep, studying a CS degree will give you a breadth of knowledge that you won't get learning 'on the job'.
On the other hand, I very much prefer working with someone that is able to see a gap in their 'mind toolbox', identify it as an issue and fix it to someone that just follows blindly a CS degree coursework.
[0] Hey, don't look at me, it was called like that in my country and, to be honest, it did have quite a bit of computer engineering (electronics, circuits, processor design...) as well as all the usual CS stuff. And maths, loads of maths.