I have my natural gas line connected emergency generator and auto on and off synced to the grid on or offline. The grid goes down it comes on, the grid comes back on it goes off. No gasoline; just the natural gas line.
However, yes, there are some possible gaps in the reliability of the flow of natural gas. Some pumping, compression and control points along the pipeline do depend on electricity nearby and in some cases gasoline as a fuel in compression operations.
Some control and pumping operations in the pipeline system do draw directly on incoming natural gas that gets diverted to running the pumping or compression operations or as fuel for generators for electricity for operations, but that is not a universal attribute throughout the whole pipeline system. In my view it ought to be. The reliability of the system no matter what happens to the electric grid is worth the cost.
In our area, the utility has cut off the gas to areas where flooding is expected (low lying area near salt water inlet). I’ve only seen it happen once in maybe 30 years but it has happened and is part of the gas utility’s emergency plans.