Yes, you can, though I don't own one, so I can't guarantee results. To use an Instant Pot, you can sauté the onion first, then add the lentils and stock, cook on high pressure for 15-20 minutes, and then, once ready, add the parsley, lemon, and any additional seasonings.