Used to have a dog that really did that...
He'd be sleeping peacefully away on his bed and all of a sudden, he would wake up looking a little bewildered, twist around and smell his butt and quickly get up and move to another room. Then it would waft over to where I was, and I usually went elsewhere, too, laughing the whole way.