Let's answer this question slowly: Is capsaicin associated with cooking?
Capsaicin occurs naturally in chilies and other peppers. It is the substance that makes the peppers spicy. Peppers are routinely used in cooking in many cultures. So the answer is yes.