It was certainly OK for Democrats. Specially ones like George Wallace who was the Democrat Governor of Alabama where and when this photo was actually taken.
For the rest of us Americans, it was hardly OK and was fought tooth and nail to eradicate and still do.
George Wallace's most famous quote is "segregation now, segregation tomorrow, segregation forever," spoken during his January 14, 1963 inaugural address as governor of Alabama.