It doesn't appear like you can sleep in SunClan.
In FireClan, if you go to the warriors' den, there's an empty nest that turns brighter if you hover your mouse over it. That's your nest that you can sleep in, but it can only be used during nighttime to pass time without using the cheat.