No but it may be due
To how you are exercising rather than related to anything wrong with your neck especially if you have no symptoms otherwise.
You may need instruction on your form or you may be just over doing it. Did you recently just start exercising? This nay also be a reason and you are just deconditioned, possibly. If it persists, see your doctor.