Yes it can
Forward head posture (head is in front of shoulders) can put an undue stress
on the neck vertebrae/ muscles/ligaments causing them to work overtime to carry the weight of the head.
This can lead to painful neck conditions. Often with poor posture the shoulders are rounded forward which further aggravates the problem. Give your neck a break and keep your head above your shoulders.