Hello ,
Yes you can eat broccoli as per your suitability. But being a dietitian i will suggest you to take it in rotation . You should also try to take some other fibrous foods in your diet.
Next Steps
For a better solution contact me for on line consultancy via practo .
Health Tips
Use such fruits and vegetables which can be eaten with their skin like, cucumber, guava, apple etc...
you may also use roasted rice flacks every evening to manage your constipation.