Yes, it is harmful to sleep on your stomach. It's bad for digestion and might result in back and neck pain. Additionally, it is not the sunnah manner of sleeping in Islam. Therefore, it's best to avoid it.