Apple Watch sleep Automation

Is it somehow possible that as soon as my Apple Watch recognizes that I am sleeping a shortcut will be executed?