I personally wouldn't sleep well with this arrangement, particularly with the long haul flight at risk of forfeit. If everything goes right, they'll make it.
Most of BA's DUB flights to LHR arrive a T2. Only a handful are into T5, IIRC. If it was 150 mins with a flight into T2 and they were...