Yes since broccoli is high in fiber content and low in glycemic broccoli is a great food to eat when you're trying to lose weight.
However just eating broccoli will not cause you to lose weight and you'll need to exercise along with eating the broccoli and other healthy foods but the broccoli will help aid in weight loss.