Well, since it's inside the plant instead of outside, it's less likely to wash into runoff. It's also presumably less toxic and carcinogenic to humans and to plants and animals that aren't pests.
Not that I think this is even vaguely a good idea.
Similar to what? The use of pest resistant GMOs has allowed farmers in some situations to dramatically reduce the amount of pesticide they apply, doing significantly less "damage" in general.
We could then further help the environment by dispensing with beds and the bed making industry!