Yes, you can. Coconut milk is a 1:1 substitute as long as you don't mind the coconut flavor. Cream of coconut is not the same thing and will not work with this recipe.