Yes, pedometers can count walking in place as long as there's sufficient movement detected to register as steps.