They call those setups aquaponics. It's a really cool system and one I would love to have as an indoor farming setup some day when I can finance it.
Currently I die a little inside when I do aquarium filter cleaning and water changes. The amount of nutrientns I cannot re-use is saddening. So much good fish poopy going to waste.
Another cost consideration is the food safety licensing and whatnot you would need to have.