The salt content and preservatives can be high if you eat a whole jar but other than that I’ve done it many times and nothing bad happened. Just buy natural/organic pickles with less preservatives / colors and drink lots of water and limit salt intake for rest of day and next day. I wouldn’t do this daily but going all in on a jar once a week or whatever isn’t going to kill you.