You definitely can't spend a focus token on these two at least. Focus tokens are spent during the Modify Attack Dice or Modify Defence Dice steps. P5-P8 doesn't activate in the Modify Attack Dice step at all, so that's a no. R5-K6 does activate in the Modify Attack Dice step, but it rolls a Defence dice and you can only modify Attack dice in this step.
I'd like to disagree on that one. The Rules do not state that you can only spend your focus token during the Modify ... Dice steps.
Rules Reference p.11:
When attacking or defending, the ship may spend that token to change all of its Focus results to Hit results (on attack dice) or Evade results (on defense dice)
Which brings us back to the question about "When attacking/defending" and "While attacking/defending"