Short answer: no. Michael Dean, swimming pool expert and author on Pool Research advises that you specifically shop for pool salt. With 25 years in the industry, he explains that pool salt isn't the same as what you use while cooking.
"People use Himalayan salt, Epsom salts, Kosher salts, and other salts in their food, but these often have additives or minerals that give them their distinctive flavors and properties that are bad for pools," he explains. "The best pool salts are as close to pure sodium chloride as possible. It’s prohibitively expensive to get 100% pure salt because there will always be trace minerals and impurities, but up to 99% pure is both easy and affordable."