Yes, you can swap the yoghurt for coconut instead, and it would make this dairy free. It adds some delicious extra flavour that you don't get from the yoghurt too, but it does change the nutritional information.