Yep, that's totally fine. My crab Beau tends to sleep sitting up, legs out, with only his eyes tucked under his shell. I can tell he's sleeping because nothing moves, not even his antennae. He also likes to walk on his hamster wheel during the day and explore the tank. My shyer crabs tend to stay more hidden during the day. It just depends on the individual crabby.
Sent from my Moto G (5) Plus using Tapatalk