I think it can be ok when you're doing something boring or don't have anything to do and can't do anything else, but I don't advise it at other times unless there's a goal, like if it's for introspective insight or you're brainstorming. Time is the only resource you can't get back.