Yes, rip out the guts of the battery.
Grab a 7808 2A regulator, and a small metal jiffy box.
Mount the regulator on the metal jiffy box, then run the input from a 9VDC 2 A plugpack to the input and GND terminals of the Regulator. Then run the output and GND terminal to the inside of the battery and solder on the correct tags for Positive and Negative (GND).
You may also want to add a couple of 1000 uf 25V caps on the input and output terminals.
The battery is normally rated at 7.4 volts or so, and the 7808 is an 8 V regulator, but by the time you run a long lead to the battery in the camera, the voltage should drop a little.
I have this setup in my observatory for my 20D. No more battery issues..
Thanks for the reply Theo, and thanks for asking the question amoeba: my question is - "anybody got a stuffed canon 20D battery they still don't want now, after reading this thread....?"