That seems unlikely, given that beekeepers have kept hives in similar thin-walled boxes for centuries and colony collapse is a recent phenomenon. Plus CC occurs in wild populations[1] as well, suggesting either a widespread environmental factor or communicable agent.
I wasn't suggesting it was the cause, so much as a contributor. There's a general sense that the odds of CC increase as the colony becomes more and more stressed.
[1]https://www.nrdc.org/stories/colony-collapse-disorder-why-ar...