Nope. The UK only responded after its own territory had been struck, as had that of allies in the region who were not part of the US and Israel’s actions.
Its role has been entirely defensive, and legal under international law as part of the right to self-defence.