Early Picard seemed to be going that way,
Discovery went there in its first season, with the Federation prepared to sell its soul to win the war until they found another (problematic) way.
The post-Burn 32nd Century is coming at it from the other side, with SFA in particular reckoning with some of the choices that were made during the period when everything was falling apart.