This is a very debatable point. Some players have a history of having trouble staying healthy, like Buchholz, Kelly, and Hanley.
I'm not saying this is what the Red Sox did, but if you fill your team with old guys and guys with major injury histories and/or known health issues, you can hardly say that having a lot of injuries will be just bad luck.