No, it won't.
Inner focus just makes you unable to flinch, you still get hit.
>Inner Focus prevents the Pokémon from flinching. Pokémon with this Ability can still flinch due to a Pokémon with Mold Breaker, Teravolt or Turboblaze.
Focus punch will always fail if you get hit, not if you flinch. Any move will fail if you flinch.
>The user of Focus Punch will charge up during the beginning of the turn it is executed, then attack at the end unless it is hit by another Pokémon's attack before launching its own; in which case it will lose its focus and be unable to attack that round.
Source: Links above
Hope I helped.