The post you were replying to was specifically about cells, and if you’re going for economy, building your own packs are substantially cheaper than buying packs domestically. Also less fraught when you’ve DIYed to diagnose and fix when things go wrong
This is why at https://gouach.com we've built the first easy-to-repair, easy-to-swap-cell battery! We're launching a Kickstarter soon, stay tuned (on our newsletter!)
Depends on how scrupulous Average Person is being. There's codes for electrical and solar installations that can be followed, and it's best to stick to the letter, even if you're certain it doesn't apply. And after that, you should get it certified by a licensed professional, but would also need a licensed professional to hook it up to the grid