Why don't you try it and see? Some of my best sleeps were after a sleepless night and for only like 1-3 hours, caffeine or other stimulants in the blood be damned
Edit: also make sure you have bright blue light during wakeup/morning/day and mellow non-overhead orangey/amber/yellow light (nothing east of yellow) at evening/night. Red 2 hours before bedtime for bonus "points"
Edit: also make sure you have bright blue light during wakeup/morning/day and mellow non-overhead orangey/amber/yellow light (nothing east of yellow) at evening/night. Red 2 hours before bedtime for bonus "points"