I have read where people use the TESLA power wall, grid tied, and charge it over night when the rates are low, then switch over to the battery when rates are high. These are wealthy people, so...
The answer is yes, but you need to do the math. I don't know the formula, but power consumption...