No, but it is possible! To do this, you need to wire in a 'Dusk To Dawn Light Sensor Switch ' aka Photocell sensor.
The other option is putting the numbers on a timed on-off switch or smart switch to create a routine.