Is breast feeding in bed always a safe practice?

Is breast feeding in bed always a safe practice?