Yes.
1. Short CG loss can be set off by short CG gain. (your question)
2. Long CG loss can only be set off against long CG gain.
3. Long CG gain can also be used to set off short CG loss.
Intra-head adjustments are also possible in a specific scenario (not always).
Please refer...