I've had some professors create fully self-contained slide decks for their course with references. Other professors teaching the same course often shared slides. Occasionally a textbook emerges from this material, but not most of the time. I think this is an approximation of your idea and probably the closest we'll get in practice.
Edit: Okay, I see in another child comment that you are a CS professor — how do you make the time to do both?