You can and you should. With very few exceptions, the deadlift is not only safe for your back, but it trains the muscles of your back to help protect your back from further injury. Many lifters with chronic back pain also report a decrease in pain with regular barbell training. The keys are to start at an appropriately manageable weight and progress slowly with perfect form.
Check out this article for more info on lower back pain and deadlifting.