Can a frozen section be done on tissue from a d and c?

Yes. Usually a frozen section is performed on a D&C specimen if an ectopic pregnancy is suspected. If the frozen section shows no evidence of an intrauterine pregnancy, then the patient will be presumed to have an ectopic pregnancy and will be treated accordingly.
Yes, but not usually. indicated. A frozen section is done to get a preliminary diagnosis to ascertain if surgery needs to be modified. A D&C is a standard procedure the process would not be any different no matter the result of the frozen section.