I heard that there's a link between eating disorders and autism. is this true?

I'm being assessed for autism and I was wondering.. someone said it's like the female version of autism which is obviously bs but yeah. I thought it could be like a control thing since being neurodivergent can make you feel kinda out of control with yourself and the world and stuff.