This is not the Categorical Imperative. What you're describing is more like Rule Utilitarianism. Kantian ethics is deontological, not consequentialist.
This is not the Categorical Imperative. What you're describing is more like Rule Utilitarianism. Kantian ethics is deontological, not consequentialist.
In what sense? There's a sense in which there's no moral law without rational agents, but Kant himself is explicit about the "good will" being entirely independent of intended or obtained ends. In other words, no rational agent needs to benefit (or be harmed) in Kant's system for individuals to be morally blameworthy or praiseworthy.
(See GMS 4:394 for the "jewel" analogy, which is most popularly cited as evidence for Kant's position on this.)
So that type of lying is strictly forbidden. You do not want to be deceived. But if include in "lies" such things as reading fiction aloud, then that can be permissible as you can want that: you aren't really deceived or betrayed.