So many different plants being genetically close (ish) makes it possible to do all kinds of fun experiments with grafting. Something like tomatoes and eggplants that have nicotine (though still mostly in the leaves) or potatoes that also make habanero peppers.
Yep – it's actually possible IRL. Unfortunately real life is a bit more boring than the Simpsons, and the tomatoes themselves will only have trace amounts of nicotine in them. Most of it will be in the leaves like in the tobacco plant.
Potatoes and aubergines too, the later the only edible nightshade native to Europe.
Ground cherries such as tomatillo, and the delicious cape gooseberry (which I just found out is from Peru).
Petunias are nightshades too.