If the pump is laid on its side, will that cause any harm to the pump?

No, this will not harm the pump as long as the pump’s intake is not blocked or obstructed.