I always peel apples to make cake. In theory you could include the peels, but it would result in a rougher texture to the cake, which most do not want.