i would think that it would be somewhat difficult due to the way chroma keying typically works. Since fire is not totally opaque, there will be varying degrees of green throughout the fire. I would recommend using something like keylight, and even that may not give you the look you want. I would recommend compositing the fire in post instead of during the shot because it will turn out cleaner.