Yes, you can keep your case on while charging your iPad Pro because most cases leave the ports open for this purpose. However, Apple recommends that if your iPad generates excessive heat and becomes too hot while charging with the case on, you remove it from the case before charging it again.