No, cooking spoiled lamb will not make it safe to eat. The bacteria causing the spoilage could produce toxins that remain even after cooking.