Theoretically, yes, but you can't guarantee that you won't step on it soon in bed (if someone sees you ... well, don't you feel like an idiot even if no one sees you)
People who really want to exercise stovepipe must stand and do something real instead of tossing and turning in bed.