Is it safe to eat pumpkins grown specifically for carving?
Safe? Or good to eat? Pesticides usually don't penetrate thick-skinned produce (oranges, etc), so as long as you're not using the skin, there's not a lot to worry about.

They're not the best pumpkins to use for other reasons (linked in comments). In summary, the smaller "sugar" pumpkin is better for cooking, if you have the option.