Yes, you can cook lentils in a pot pan on the stovetop. Cooking them in a pan will take about 45 minutes to 1 hour or more. Soak lentils overnight and then cook them covered with enough water in a deep pot. Add a few drops of butter or oil so that the water does not froth much while boiling the lentils.