The coconut oil helps the chocolate layer set smooth and soft, which improves with the eating experience. The softer chocolate doesn't force the caramel layer to squish out when you bite. That said, you can leave it out if you need to. In that case, just experiment with how thick you want the chocolate layer to be.