If it saved the cost of building a new combine cycle gas power station or keeping a coal power station staffed/maintained then it would make sence. Not hard to so, as for example Tesla already have all the logic needed if the batteries could automatically download prices changes.
Would also...