Yes, boiling broccoli in pasta water is okay and can actually add flavor to both the broccoli and the pasta. It's a convenient way to save time and reduce cleanup while infusing the broccoli with some of the pasta's flavors. But for this recipe, it's not necessary because after sautéing the broccoli it will boil in the creamy pasta sauce!