I have a couple different disconnects from the grid, both legal. Your main breaker is a disconnect, but take a close look at your neutrals and/or grounds. Solar panels have trouble generating enough current to start up large resistive loads or large impedances. Couple things you can do there, caps and batteries for instance. You can run a fridge, starting an AC unit is harder, and the number of panels and batteries plus storage and containment required makes it expensive and requires space. But solar can work for a lot of things, yep. The best food storage is a cow in the pasture.