You can, but they are both very different in taste and texture. So it depends on what you are making. If you are making a salad, absolutely. But if you are using lentils to make a burger where their texture is needed, nope. Nutritionally they are both great sources of protein and fiber. So if that is what you want, then either will give you both.