We do it frequently. Our cat put her paw only once over the fire and understood immediately that it is a no-go. Nothing big, I guess she was more surprised than really feeling any pain. But afterward, she was just staring randomly at the light and she never tried again putting her paw on it.