Even on the same airline, sometimes the airline either fails to catch it or doesn't make an issue of it. I have done DCA-ATL-LAX-(Nested with LAX-ATL-JFK-NRT-SIN-NRT-JFK-LAX)-ATL-DCA without nesting issue being raised. Through check-in was a problem though.