Pacing as a stim?

I do this in my house. Pacing from kitchen to living room, my wife is thinking of putting me in a looney bin, she understands a little why I do it. I do it to soothe me from anxiety and it is a bit ocd for me as I have to reach a certain amount of steps, which then becomes a little annoying. I suppose it keeps me fit. And also in my back garden I do it.