Yes, however I do recommend cooking it in some way before adding it to the curry. I love roasting the squash, but you can steam, boil or air fry it if you prefer.