
I think this "milk of the poppy" is the latex/liquid i was talking about. These alkaloid found in some poppy species is often used in medicine, for example in the 19-20th it was still used in simple cough syrups too. We used/still use it as painkillers for very severe pains. It basically "turns of" our pain nerve connections temporarly.
It used to be made by scraching the green poppy pod and collecting the oozed out, dried latex but it was very labor intensive. Nowadays its made with dried poppy hay. In my country they grow a lots of poppy (the kind thats is high in alkaloids, its actually smaller than the one we eat) for medicinal uses, morphine production.

Well it can. It depends if you are talking about the culinary/hobby flower grade poppy or the medicinal grade (the culinary contains much much less alkaloid and the seeds itself contains even less, an insignificant amount)
Fun facts: if you eat A LOT of poppy seed (like in pastry filling so on) eat can be detected in drogtests.
+ Actually lots of thing we eat is poisonous in large quantity. For example rhubarb, because it contains a significant amount of oxalic acid+oxalate salt and it can cause kidney failure (brain and heart damage too lol) but you can not eat a fatal amount because its physically imposible to ingest 6-7 kg of it. You might get a stomach ache or puke it up if you eaten too much of it. Or if you are prone to kidney stones you should not eat it at all.
Poppy latex(the liquid from the seed capsules) is high in alkaloid compounds (morphine) so...
They kinda got high on some spiked candy and fell asleep lol