Yes!  You can sauté the veggies and spices in the Instant Pot before adding the vegetable stock and lentils.  Then reduce the cooking time to 12-15 minutes, add lemon and taste for seasoning.