Whether spalling brick can be repaired comes down to how far the damage has spread and what’s causing it. This isn’t something most homeowners can accurately judge from the ground, which is exactly why a proper inspection matters before deciding on a fix.
If the damage is limited to a handful of bricks and the mortar around them is still sound, tuckpointing combined with sealing the crown and repointing failed joints can often stop the spalling from spreading further. Once individual bricks have spalled down to their porous core, though, tuckpointing alone won’t restore them.
At that point, the damaged bricks need to be replaced as part of a larger masonry chimney repair, and the crown, cap, and flashing need to be checked to confirm the water source that caused the spalling in the first place has actually been shut off.