Yes it's safe but for chronic constipation but you should have some lifestyle modifications
Next Steps
Drink plenty of water
Take High Fiber Diet
Avoid red meat
Take medicines only when there's passage of hard stool
Health Tips
in case of bleeding while passage of stool consult General Surgeon