There are probably some cases where that solution might work, but it’s not a general solution. I have never used it myself.
I’d say, it’s always possible to ‘fix’ N-Gons, or Topology in general, so that the Loop Cut goes where you want it to go. I often prefer doing that, because undoing can also undo some good work you’ve done; it depends on the situation and your own preference/style.