Baby imitating dog....?

My dog has a nervous pant. Constantly pants. Now my 9 month baby pants. Is this normal?