No - targeting is not perceivable by the characters in-game
First, you decide what perceivable circumstance will trigger your reaction.
Targeting is something that only occurs outside the fiction of the game. To qualify as a trigger it must be observable by the character in the game.
When the dragon you are fighting rushes forward and starts to breath fire, how do you know who it is targeting? You don't. You can try to guess, but the fact that you have to guess means that it is not observable.
Though you did not ask about them, it is worth pointing out that the targeting of spells is even less observable and more clearly not a valid trigger: Can the target of a spell be identified before the spell is cast?
Targeting is a mechanic, is not observable and is thus not a valid trigger.
Triggers must be phrased in terms of what a character can see/hear/perceive
If I set my readied action as "I cast this spell if anybody targets me with an attack" this has a major issue. Because it is not phrased in terms of what my character can actually perceive, it could technically trigger off of things my character could not possibly be aware of. For example, with the above trigger if an invisible archer who I was not previously aware of shoots an arrow at me, my readied action would technically trigger.
Obviously, the DM in this case could (and should) just rule that the readied action did not apply. But the whole situation arose because the trigger that was set was not phrased to be based on what the character could perceive and thus should not have been allowed in the first place. Fortunately, there is an easy fix for this.
When my players use a trigger says "targeting" I clear it up very easily by asking them to rephrase it in terms of what the character is looking/listening for. For example, "when the archer targets me with an attack" becomes "when the archer points her bow at me". Thus an invalid trigger becomes a valid one extremely easily. It just has to be phrased in terms that the character can actually perceive.
Jeremy Crawford has commented on a similar situation:
The trigger you choose for the Ready action must be a "perceivable circumstance" (PH, 193). A caster doesn't perceive turns ending.
A "turn" is another mechanical concept which is also not perceivable by the characters. Jeremy Crawford correctly points out here that it is not a valid trigger for that reason.
Best Answer
No, but it depends on the DM.
The DM can allow this because it is a dramatic move. But one prone to abuse. Because as long as you have superiority dice and acts before the enemy, you could just move an ally.
The RAW order of actions is:
In your turn, you ready an action to attack the dragon when it uses breath weapon.
In the dragon's turn, it breathes fire. Your friend is toasted.
You atack the dragon and the friend (if it is still alive) moves.
This happens in this order because:
boldface text added by me
So you cannot interrupt the dragon's breath. You take your readied action after the trigger happens. Your friend will be roasted.