No, you technically can not use a 100 watt solar panel without sunlight.
However, a battery will let you use power from the sun when it is no longer shining, which you couldn’t do if you relied solely on the panels for your power. When purchasing a battery, it needs to store twice as much energy as your panels can produce on any given day.