If the supply chain and consumers must suffer to improve railroad worker working conditions (improved quality of life around availability and attendance is the ask), that seems like a reasonable course of action when all other options have been exhausted.
I recommend some light reading regarding the working conditions railroad workers currently face. The solution is simple: railroads simply need to stop abusing their workers while raking in record profits. Freight rail can afford it, there is no excuse except to maximize profits.