There is a probability it was.

Usually in sleep paralysis you feel intense vibrations that end up in a state of paralyzation.

In this state you will then see various hypnagogic imagery and hallucinations.

This " feeling " you say could mean you may have been getting close to sleep paralysis.