eating disorder and period

can having an eating disorder make your period a lot more painful, like cramp-wise?

i think i have an eating disorder and while my period has not stopped, it has gotten a lot more painful. my cramps are horrible and it’s causing my back to hurt more so than it usually would.