Can a person with diabetes donate sperm?

No. Most facilities have exclusion criteria for semen banks, and diabetes is one of the diseases that generally precludes donation.