What if each time a neuron sends a signal to another neuron the potential required for that connection decreases slightly? So the next time there's an action potential between neurons it's more likely to go where it has already gone. In other words, frequent connections make that same pathway more readily traversed. Could it be that a memory is simply a new signal traveling down a 'worn path'?
I realize that there needs to be some way for this resistance change to be reset over time, so is it possible that dreams serve the purpose of writing somewhat random data, like wear leveling or trimming on an SSD?
This is just pure speculation and I have "Hello World" levels of knowledge about neuroscience. But hey, it's fun to speculate, right?