They can be depending on your needs. Lithium iron phosphate batteries are pretty cheap for their capacity. If you build your own power station with them you'd be surprised how far your money goes.
It is much more expensive that just buying electricity from the grid at night.
It is much more expensive that just buying electricity from the grid at night.