The synthesis of a compound from its elements in their standard state, accompanied by a change in energy that is known as standard enthalpy of formation of a compound. The standard state of a substance is the most stable physical state of the compound that exist at STP that is at 1 atm, 273 K temperature. So the answer is yes, the energy change accompanying the synthesis of a compound from its elements in their standard state.