Are you talking about silkworms then no put them in a shoebox with paper on the bottom they are blind and can't fly.Hornworms will lay them everywhere I will take a pic before we collect them today.
Yes you can we have done it but now we just use a screen cover over the plant. The plant is only toxic if the worm eats it so just collect the eggs every day and if you find a hatched one kill it.We get 300 to a 1000 a day.