As long as you do not break any immigration rules I can’t see why it would be a problem. One thing not too dissimilar is back-to-back ticketing which the airlines are extremely firm about. This applies mostly to business travellers I would think, and is briefly explained in the link below:
http://www.ityt.com/library/fom-serve/cache/123.html