Well, sure, but energy=mass; just as an atom's mass is not equal to the sum of the protons, neutrons and electrons masses but depends also on their binding energy, in the same manner, a compound with highly energetic chemical bounds has a (very, very slightly) different inertia and gravity than the separate components. The difference of this effect between atomic and chemical bounds [spelling? English isn't my main language] is quantitative, not qualitative; chemical bounds have much less energy, so the effect is much smaller, so for most purposes it can be considered as insignificantly small, but it's still there and not zero.
Any system that loses energy (e.g. releases an energetic photon - no matter if it's because of a nuclear or chemical reaction) also loses mass, though E=mc^2 means that losing reasonable amounts of energy mean losing very, very small amounts of mass.