Usually yes it does. It's not really a code thing, but more a risk/ safety issue about how can you operate without a lit flare without potentially creating a large explosive cloud if the pilot isn't lit.
Loosing the pilot on a flare is usually a huge issue for a plant or rig and hence at least two sources of fuel are required to give you the required reliability.
One plant I know uses bottled gas. Only thing you need to then do is make sure there is gas in the bottles at all times....