It's a great idea but at this time don't think it's economically feasible. Panels are pricy, batteries are also. PV (photo voltaic) systems are only working about 6-8 hours out of the day so if one wants to mine for 24 hours a day the system would have to be oversized enough to charge the batteries to carry over for the 16 hours that the PV isn't charging to any degree, just don't think the amount of money one gets from mining will offset the costs, maybe a wind generator to help in a reliably windy area might be an idea to pursue or home sized hydro electric if there's a reliable stream?