It's generally legal to fire employees for "free speech" activities done outside the workplace.
More morally hazardous of course, but I don't think anyone would really even challenge the cause here (it's trivially easy to argue that this behavior shows they would endanger workers within the workplace as well).