Rabies Vaccine Okay for Dog on Chemo?

Is it okay for a dog on chemotherapy to get a rabies vaccination (required by law)?