I've toured a few wastewater treatment plants (it's a hobby) on separate coasts of the US and it seems pretty standard to have some kind of fertilizer system in place, alongside on-site methane energy generation. And that end product water is drinkable, though it skeeves people out to do so.