From what i know the only way to electrolyze something it has to be on the liquid state, so first the melting point of NaCl is way to high (over 1000 C), but even if you could do it from what i know the only thing you will get is pure sodium on one of the cathodes that by the way will combust as soon as you take the cathode from the NaCl, and a very nice gas named chlorine which improves your breathing... (obviously not) which will also be impossible to use due to the extreme temperatures near the environment of the experiment.
That's what i know from this mater. Correct me if I'm wrong.