Just watch out for the maximum stay rules of your wrapper ticket in case there are limits.
Also in my experience when you do a return leg to that other country, it can interfere with online / automatic check-in because you will not have an associated return flight. You'll just need to sort that out at the airport by explaining it (sometimes they don't even ask, but it has to be manually approved).