Yes. Normally a hot fire will clean the glass. The most common reasons for dirty glass include the following:
• Not using sufficient fuel to get the appliance thoroughly hot.
• Using green or wet wood.
• Closing the draft so far that there is insufficient air for complete combustion.