No, the Terraform provider does not track the scanning type, therefore manually changing it via the console or the CLI will not cause any state mismatch.
You can opt in without worrying about your ECR getting destroyed.