Of course this naive view quickly falls apart when interpretation comes into play, as it always must. In the extreme, one may assert that "philosophy" is encoded in the behavior of it's adherents, and these behaviors may have little or nothing to do with the "canonical" representation of the philosophy as immutable text. Or more precisely the behavior and words can be profoundly decoupled. Many examples of this decoupling occurs to your thought (and mine). So when you say that a philosophy can "turn away" from values, in this sense that is true.
I prefer to think of philosophies as a kind of Platonic ideal, which are then subject to all the foibles of the humans who associate themselves to them. There are some subtle problems with this view, which I'd rather not confront.