Yes. Your macro targets should match your current goal, whether that is fat loss, maintenance, muscle gain, or recomp.

If your goal changes, simply recalculate your macros using your updated target. For example, someone finishing a fat loss phase may later switch to maintenance or muscle gain, and their calorie, protein, carb, and fat targets should be adjusted accordingly.