Yes, it’s fine. Iodine is the part you need.
According to Dr J. DiNicolantonio’s book, “the Salt Fix,” the only thing you really need from salt, besides, y’know, the salt, is Iodine.
Near the back of the book he goes over the more popular variants of consumed salt, including Himalayan pink salt, and compares their effects, benefits, and nutrients. There, he discusses how little effect your choice of salt has on your health, so long as it has Iodine.