Numb in legs

My legs have been going completely numb recently to the point that I can’t even stand up because of it. Could this be because of my diabetes?