You certainly can, however it's best to do so only on the instruction of a medical clinician, as your arm isn't under any strain while you're asleep.