Avoid any asanas that require twisting and heavy exercises. Avoid fast-paced yoga which is done at hot temperatures if you are diabetic.
Yes, yoga shall be beneficial to you but before practicing yoga at home consult a yoga instructor and get trained.
Yoga is one of the best and cost-effective ways of managing a healthy lifestyle if you are diabetic. Research has proven it to help control diabetes especially type-2 diabetes. But completely curing it is not proven so far.