Given that the S10e's battery life is already waning, I'm not sure I want to do that. But yes! If there were a safe way to do so, I would gladly run LOS on the phone for ten years.
Another brand that seems to be well supported (although not as extensively, timewise, as Samsung) is Google. LineageOS still supports the Pixel 1.