The value of a used 24 KWh battery used in, say, an old EV non-tesla car - $2000 (note this still has plenty of life left). Example: a 2013 Nissan Leaf
The value of the same, repurposed to a "powerwall" - $10k per 10 KWh
The value of it once attached to a "movable powerwall" - :) add a few more zeros
Clearly, I am in the wrong business...
Batteries are cheap, an unsafe installation burning your house down, extremely expensive.
Best practice would be to build a separate structure and physically separate the battery from your house.
You can get good batteries for a lot cheaper than a power wall. Just like when the Tesla family of companies tried to do home solar - big premium for the name.