You can as long as the other team doesn't find out and orders a "stick check," to make sure the stick isn't curved too much. That was a huge factor in the Stanley Cup Finals back in 93 between the Kings and Canadiens.
That's true, but it's a lot easier to spot than a corked baseball bat.