Possible to have PPD while pregnant ?

Is it possible that I could have PPD while pregnant ? I am 32 week today, last night was just a episode I do not want to explore again.. I didn’t realize I was sitting in the bathroom on the floor for two hours just blasting music and sitting there.. now I’m still in bed.. knowing I have kids but can’t seem to get out of bed. They have their dad with them so I’m not worried.. but I don’t like this feeling.. but then again I do.. Idk I’m just going through a wave of emotions I don’t understand