Using a learning project to save money is nonsense. Learning means making mistakes. You are going to break things and have to buy replacements. The most expensive component in such a project is going to be the solar panels. Why? You cannot manufacture your own, or at least, not any cheaper than off-the-shelf.
To get the maximum efficiency out the panels, you need well-designed MPPT trackers, inverters, and an extremely well-designed energy pack. You are not going to build any of those pieces better and cheaper than you can buy off the shelf. So while you may end up with a system that seems like it cost less, the total cost of ownership is much worse. You'll never get the efficiencies from off-the-shelf components.
In terms of safety, this is not an area I am willing to help. You are dealing with voltages and energy densities that are lethal. Mistakes you'd make breadboarding an Arduino circuit will kill the Arduino. Make that same mistake with an inverter connected to a battery pack, and it will kill you.
You need to start with much smaller circuits. You could start with a low voltage solar cell charging small cells. Then you could move a panel, inverter, and 12v car battery. Later, maybe something like an electric bike. Meanwhile, I HIGHLY recommend taking some courses on Electrical that target electricians.