This is aquaponics. Does not have to be cannabis and does not have to be fish.
Shrimp also grow well in water coming from fish farming. Beneficial bacteria feeding on fish wastes are what shrimp are happy to graze and live in.
BUT for commercial shrimp for human consumption tends to be marine AND growing shrimp is more profitable – aquaponics just means another life system to worry about.
That said vannamei can be grown in freshwater. Just not full life cycle as adults need seawater to get to maturity.