Extracting sodium from salt
I don't think it is safe or realistic to do that without extensive training and equipment, but yes, historically sodium metal has been made by chemical reduction of sodium salts at high temperature and condensing sodium vapor produced.  For example, sodium carbonate was heated with charcoal.  Even though equillibrium does not favor sodium metal, the fact that the small fraction of sodium produced is removed takes advantage of Le Chatelier's principle to keep making more sodium.