Long ago (in my wilder days) I knew a man who grew his own, in his own house.
He had the crawl space dug out under his house for headroom, topsoil brought in, grow lights, even water lines for irrigation.
Electricity wasn't an issue --- he only grew enough for his own use and therefore his lights compared to maybe one extra major appliance.
I don't know about toxicity, but the smell that permeated his whole house was unmistakeable. He wasn't fooling anyone with a nose.
Just recently a fellow here in my home town got busted for basically the same kind of operation, except he was growing his in an underground room that was under a Farrowing pen (Pig Nursery). The police were baffled by the case with this guy because he obviously wasn't working, yet spending a great bit of money and yet he never left the house. The way he got busted was by the local power company finding out that he illegally hooked up & stole power through the power lines. By the way it does take considerable amounts of Electricity for hydroponics.