Depends; by bones do you mean any sort of calcium based skeletal structure? Viruses cannot infect any sort of structure just because it's that type of structure. You'd have to take into account the molecular makeup of the exoskeleton, and how the virus infects it, or if even can.