You can, as long as you've only had 5-6 hours of sleep. Any more than that, and your REM cycle starts to wear off, and being in it is essential to WILDing.

There's always the option to wake up after however many hours of sleep, stay up for 5-6 hours, and then take a nap - that is another way to WILD (without using an alarm or autosuggestion).