Running in place

Yes I use to run in place for hour to 2 hours at a time can it hurt the baby?