Yes, you can set a timer so that the sleep sound will automatically turn off after a certain amount of time. Simply say “Alexa, play whale sounds for 4 hours.”