Imported user unable to log in if no SSO details in Discourse

Yes, that should solve the problem. If you only want to disable email verification for a particular user, you can call the filter with it’s second parameter to get access to the WordPress user:

add_filter( 'discourse_email_verification', 'gaoa_wp_discourse_email_verification', 10, 2 );
function gaoa_wp_discourse_email_verification( $require_activation, $user ) {
    if ( 'example.user5656@gmail.invalid' === $user->user_email ) {
        return false;
    }

    return $require_activation;
}