Yes, you can cook the broccoli for the salad by blanching, steaming, or roasting it. Blanching or steaming will result in a tender yet crisp texture, while roasting adds a delicious caramelized flavor.