But that's entirely different from replacing the battery itself with an expensive bench power supply. That can definitely work, especially if it's a high-end source/measure unit capable of being programmed to emulate the discharge curve of a real battery.