The answer is a very cautious yes.
A diabetic person can go on an intermittent fast and gain all its benefits. Still, it must be under the guidance of a trained nutritionist or physician as they are more at risk for hypoglycemia and hyperglycemia.