Rogue attacking an enemy put to sleep

If an enemy is put to sleep using the sleep spell and then attacked by a rogue does the rogue get the full attack bonus (auto crit, sneak attack etc) Even if other enemies are fully aware of the combat before the enemy wakes up? This seems a really powerful combination especially at lower levels?