That's good to know just in case. Do you know where to find the information on dosages to make it a little safer?Yes, they need to be papaver somniferum. However, "peony flowered" poppies ARE somniferum, but often aren't labeled as such.
From everything I've read, it's legal to grow them, but NOT to harvest any of the latex. However, simply growing them for "dried flower decorations", and storing the pods will give you potential pain relief if needed. Grinding up 2-3 pods (THIS IS ILLEGAL, and can be DANGEROUS... I'm telling how it's done, NOT recommending you do it!!) and making a tea from them will give you a solid dose of mixed opiod alkaloids. The dried pods contain around 1-2% morphine, and lesser amounts of codiene, thebaine and other alkaloids.