I beleive this has been done already - it was actually sponsored by toyota itself and the system is installed in the ranger stations in yosemite national park in USA,
they have a whole array of used battery banks from their hybrid vehicles being fed by solar panels.