If you want to swap out the oil from olive oil to coconut oil, you absolutely can. Just know that since coconut oil has a sweeter taste typically, it may change the flavor of the recipe a bit at the end.