Yes, most gas fireplaces with an electronic ignition offer a battery back-up such as you describe so that the burner can still ignite in the event of a power outage.