While you technically can use coconut sugar in place of brown sugar, keep in mind coconut sugar doesn’t contain the moisture these bars rely on from the brown sugar. I haven’t tried this swap personally, so I can’t provide specific recommendations regarding adjustments.