No, that's not a good way to deal with cramped muscles. You're more likely to cramp up if you're dehydrated. That's true of basically any muscle cramp.