If you want to charge your solar lights without the sun, there is nothing stopping you from doing so. At times, a solar light will gain some charge while sitting in a moderately shaded area. However, if you want a more effective way to charge a solar light without the sun, just use an artificial light. The light from a standard bulb will work the same way as sunlight would.