As has already been pointed out, it depends on the fare conditions attached to your ticket.... the cheaper your ticket, the less flexible the conditions.
Added to which, what you describe is basically throw-away ticketing.... airlines don't like that as they price flights on the basis of the entire trip being flown. So if you look at it from their shoes, how do they know you're not just another customer doing a throw-away job on them ?