Nearly so. I think of "set" as emphasizing that the form is fixed, as " set in concrete" - untransmutable. "Stock," on the other hand, emphasizes (in my mind) the ready-made aspect of it - off-the-shelf - picked from the catalog.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.