Yes, you can leave the shredded coconut out of the cake batter. No other changes are necessary.