Default [Q] OTG and charging

Simple question: Can the phone (Xperia Z) charge from the docking port whilst OTG devices is connected to the USB port?
I'll mod the included dock if that is the case.