The paper/cardboard type, Yes. You can cut apart, plant in soil, and the egg carton will break down and the plant grow through them. If using styrofoam, remove before planting.
Egg shells work great to. Put in some soil, seed, and when replanting, break up the shell for some additional calcium...