Yes. It should work. Did you enable the site setting sso_overrides_groups in admin side?
sso_overrides_groups