Yes, you can substitute the butter with other types of fats such as coconut oil or vegetable shortening. Just make sure to adjust the cooking time accordingly when using these alternative fats.