Is it bad to have a spinning sensation before you fall asleep?

Not normal. May be a sign of inner ear problem called benign positional vertigo, but there are other causes. Should be evaluated by ENT doctor.