I need surgery for a dislocated shoulder and have been meaning to get my knee done as well. Can I get both at the same time? How much rehab is there?

No way. When one has surgery on a knee, crutches are often needed. This could put a lot of stress on any shoulder repair that you have done. The amount of rehab that will be required will be determined by the operating surgeon who will make the final decision after the surgery.