I suppose if we got to that point, you could replace that portion of the brain with cybernetics, save the state before having taken any drugs then every so often, flash it back to the beginning?
If you haven't read Peter F Hamilton's Commonwealth saga, you might appreciate it. Memory editing plus effective immortality is an interesting concept.