Night terrors and cuddles

From time to time LO gets night terrors, once the episode is over she wants to cuddle. Nap time she loves to cuddle to but also sleeps well if left alone. We co-sleep because she feels safer and comfortable. Is this a bad habit we are creating?