My guess would be the answer is no. There seems to be a fair amount of software involved in charging these days. iDevices turn on fully the moment you plug them in, while several generations of my Android devices take a while before they turn on the display to show charging status from a powered down state. I'm guessing whatever they are doing to disable charging, goes into whatever piece of software is running while the device is charging.
But, as I said, that's just a guess. I'm sure someone in the comments has some first hand knowledge of what goes on in phones during charging these days.