Yes, canned lentils can be a convenient substitute. Just drain and rinse them before adding to the dish, and reduce the cooking time since they're already softened.