This doesn’t explain sleep in virtually brainless creatures. A metabolic root cause seems more likely.
Could you make the case for metabolic explanations? Are there a bunch of coupled mechanisms that all require downtime and couldn't possibly be phased?
Animals without nervous systems exhibit sleep-like states [1]. Potentially even animals without neurons [2].
[1] https://pubmed.ncbi.nlm.nih.gov/28943083/
[2] https://www.science.org/content/article/if-alive-sleeps-brai...
Road maintenance isn't a good analogy; it _can_ be done "online" (with traffic, during the day) and in fact _is_ often done online, despite the pressure to do it online being less than "road workers will be eaten by monsters if they venture out between 8pm and 6am." This is the opposite circumstance we see with sleep. Animals always sleep despite the steep cost. If we want to fix the analogy, we could imagine a world in which all roadwork was done between 8pm and 6am despite workers regularly getting eaten by black-furred creatures of the night. Wouldn't that beg the question "why not do it during the day?" If you learned that every city and state and country did the same crazy overnight work schedules despite losing workers to them, wouldn't you suspect that there was a strong hidden reason?
There is virtually no parrelel between both worlds besides the naming and no one has any idea about what's going on for real.
~a machine~
~a steam engine~
~a computer~
an LLM
Analogies help understand the brain but OP is taking the analogy and then going back and applying principles from the analog to the brain.
The brain is the brain, it isn't any of those other things.
Yet we have absolutely 0 clue nor proof besides "it feels about right", that's not how the scientific method works.
(Similarly, there is decent evidence that the brain uses higher-dimensional vector representations of concepts in a similar way to neural nets, at least in some parts of it, but again the details are messy and there's not a clear idea of how these representations emerge or how to decode them reliably)
Same is true when you compare an actual brain and an AI model.
Your entire argument rests on this statement, yet I don't see any further talk about it or anything to back it up. Perhaps sleep is the very best way to optimise cleaning, outweighing the disadvantages?
Also, the complexity of transport scales with the system. Famously, zebrafish don't need a functioning heart for the first week of their life because at that stage they are small enough that diffusion does a good enough job transporting nutrients and oxygen. Needless to say, this goes for waste evacuation as well: small size trivializes the problem. Nematodes are even smaller that zebrafish, yet they still sleep.
"Sleep is about training neuron functionality" explains the universality of sleep much better than "cleaning is hard."
Why? Cleaning is easy to optimize yet sleep is evidently hard to optimize. Going unconscious for a big chunk of the day in a world where everything wants to eat you is a crazy price to pay, yet sleep is highly conserved across species under this extreme selective pressure. Even the animals famous for avoiding sleep don't really avoid sleep so much as bend the rules! Seals partially wake up to breathe, migrating birds sleep a hemisphere of their brain at a time, but they all sleep. This didn't happen because "pumps are slow" or "filtering is hard." Biology is excellent at copy-paste-reinventing that stuff. Optimizing the pumps and filters is not something evolution would have struggled to do if it could have meant not going unconscious for a third of the day. Especially for organisms with small brains where the transport logistics are trivial.
IMO the much more likely explanation is that the brain uses contrastive learning somewhere. We know animal brains don't use backpropagation to train and contrastive learning is one of the biggest competing family of techniques. Instead of using calculus and outer products to calculate derivatives, you feed real data and false data forward through the network and each neuron tracks and trains on the difference. This can be batched -- many CL techniques could handle 16 hours of real data followed by 8 hours of false data -- but the false data can't be put off forever, or the contrast signal goes away. Also, you probably want to inactivate I/O while the false data is flowing through. In other words: sleep emerges from first-principles on the category of neural network learning techniques that the brain probably uses.
I don't think anyone was seriously about to shoot up with sleep-replacement peptides, but also: don't. Let someone else figure this out the hard way.