I've never made this recipe in either the instant pot so I'm not sure how that would work. However, if you cooked the lentils and then added the cooked lentils with the sauce and spices to a slow cooker, and set it on low for 2 hours, I think that would work just fine.  If you've made this recipe in the slow cooker or instant pot, please let me know so I can update this recipe!