Apple juice, maybe
Apple juice, substituted for a bottle, perhaps once a day, will generally relieve constipation
However, you did not define what you mean by constipation. If you mean, your baby is not moving their bowels by some scheduled time, then that is not constipation. Constipation is when their stool is hard. If they are not going often, that is normal, and indicates that they are absorbing well.