Can I make this in an instant pot?

Hi everyone! I’m new to cooking with an Instant Pot. My partner gave me his Instant Pot duo because my stove is crap, and I’m trying to learn how to use it. There’s a recipe I really love (linked below), and I’m wondering if it’s possible to just put all the ingredients into the instant pot and press the “bean / chili” button and then expect it to cook? Or would there be something else I need to do?

https://www.instagram.com/reel/Cm7V80fqY5j/?igsh=NTc4MTIwNjQ2YQ==

Any advice would be extraordinarily appreciated. I know it might be a stupid question, I’m just really new to cooking as a whole and genuinely trying to learn. Thanks in advance! 🙏🏻