Of course, basically any loco can be outfitted. Some might be a challenge for space, but there's very few locomotives that have not been converted to battery.
If it can be done in a shay, a railtruck, and a davenport, it can definitely be done in a Thomas.
Regards, Greg