wire accidentally pulled out of "pilot light" can I by-pass pilot light?
That looks like a standard neon pilot light assembly that you can easily source.
However, the wire being pulled from the pilot lamp (assuming that wire hanging free isn't touching anything) will not prevent the heater from working.