Yes, you can make the cookie dough ahead of time, shape them into balls, and store them in the refrigerator. When ready to bake, bring them out and let them warm up a little it will make it easier to make the hole for the jam. Then fill them with raspberry jam and bake.