Yes, it’s against MLB’s rules to put Spider Tack on a baseball

Pitchers aren’t allowed to put any foreign substance directly on the baseball and rosin is the only substance they can put on their hand.