Short answer: yes
Long answer:
Routine:
When (sensor) detects motion
Every Day (or selected days of week)
2030-0700 (or your selected times)
(scene) on
Then you may wish to set up a second routine to turn things off again unless you use a "Wail" command in the first routine to turn things off again. I find this gives me more flexability
When (sensor) does not detect motion for 5 (user selectable) minutes
Every Day (or other - see above)
2030-0700
(scene) off