No, railroad ties are not safe for burning. Railroad ties are both generally too big to fit in a firepit or fireplace without significant cutting -and are often soaked with creosote before used, making them capable of letting off some bad fumes.