Yes baking soda can get rid of warts but you also need to use castor oil along with the baking soda to make a paste.
Take some castor oil and then put some baking soda into the castor oil to make a paste and then apply the paste to the wart and cover it with a bandage or something else and leave it on overnight.
You can also try soaking a cotton ball in Apple Cider Vinegar and then tape the cotton ball to the wart overnight and the wart should disappear within 3 to 4 days after applying the Apple Cider Vinegar everyday.