Realizing surface-driven flows in the primitive equations