pandiculation

Pandiculation is "the act of stretching oneself."

The context in which I encountered it indicated that the term is specifically used to refer to the sort of stretching one does when tired, or when waking up after sleeping.