Ooh. Interesting thought. From a scientific point of view, there’s nothing magical about sunlight, it’s just light of particular set of frequencies. So we could trap the energy in a jar, and then re-emit it when the jar was opened using a combination of solar panel to collect, light sources and filters to emit.
Could we do it just using mirror’s inside? It would be very inefficient, so not for very long.