API Embedded OSO

Is it possible to configure the API to execute an embedded OSO, so that we have a trade with limit and stop, and for the stop to then trigger a reversed entry with limit and stop?