Can this be caused?

Can not heaving a lot cause constipation? I hardly eat and I’ve been constipated