Yes.  The beauty of solar lights is that you can leave your solar-powered lights on all night.  The ability to light up your outdoors for a long time works well if you make sure you get plenty of sunshine for solar-powered lights the next day.  In most cases, if the solar panel gets eight hours of sunlight, that's enough for most of the custom solar lights and solar power systems.