It's not viable if you use it to store power for use, but it is if you hook directly into the grid. The setup has to be worth it.
It costs about 5K to hook into the grid. At that point, every watt of power you upload into the grid is metered at the same rate the power company you're hooked to...