Yep. I've grown it in every setup imaginable. Even in crappy (nutrition-wise) substrates like Fluval Stratum and sand.
Give it enough light, provide adequate ferts and root nutrition and make sure you've got CO2 and it typically grows well. In water (my experience) ranging in temp from low 60s to about 82. Varying hardness, as well.