I don't think a foam cup would be sturdy enough to hold cupcakes, usless you were going to weigh it down.
When I made mine I used terra cotta, and ceramic pots, they worked really well. If your looking for a turtorial cambo has made one. It's wonderful. Do a search for "cambo cupcake bouquet" and it should come up.