Are you going to define the field groups using PHP? If that’s what you’re planning then I would add the field group conditionally based on the options setting. Or possibly creating a custom location rule based on the options https://www.advancedcustomfields.com/resources/custom-location-rules/
I don’t know where it’s going wrong for you, but like I said in my first post, I think that attempting to remove the meta boxes using the WP function rather than using ACF filters is probably the wrong approach.