For many people, a reef aquarium is a place to grow coral, with fish thrown in as an afterthought. For other people, an aquarium is a place to keep fish, plus a few corals to make it pretty.
If growing corals is what your tank is all about, then it really doesn't matter whether they make a net positive or negative contribution to water quality.
Instead of macroalgae, some people grow corals like xenia as a nutrient export system. The xenia absorbs nitrates, phosphates, etc. from the water, and is then harvested periodically.