From the structure, (1) reads to me as if the raisins and chocolate chips were a separate accompaniment to the cookies. It's only because this seems unlikely in practice that I would question whether it was actually meant. The most usual way of saying this would be "I ate Tim's raisin-and-chocolate-chip cookies".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.