Yes, you match the size or quantity of batteries to how long that you want to sustain the maximum wattage load (i.e. 12 hr) without a recharge. The solar panel size matches the battery size or quantity.
We have propane for cooking and some lights. The solar system supplements that.
The solar light bulbs are expensive. They are LED, quite bright, and won't burn out in our lifetime. We used deep-cycling marine batteries. They've worked summer & winter.