Separation anxiety

Can baby’s as young at 5 months get separation anxiety? Everything I’ve read says this doesn’t happen until 8-10 months.

My little girl cries for anyone but me and bedtimes/nap times are really tough right now, she used to go to sleep in the crib just fine but if I leave the room she will cry hysterically until I come back.

Even my husband is struggling with her and she used to be great with him - I only had a shower last night and she cried the whole time I was gone as soon as I came back in the room she was all smiles again.