Talk to your ob
In the process, it can cause some uterine contractions. It is not directly harmful to the baby. However, inducing your own contractions without the knowlege of your OB can cause problems for your baby and is not a great idea. Induction without a medical reason prior to 39 weeks is not recommended. Best to discuss this idea with your Ob before you try it.