Panic attacks at night

I've been randomly waking up in the middle of the night heart racing, sweating and feeling nauseous does this sound like a panic attack? Anyone go through it before?