In the past I have used companion tickets against D and A segments from RTW tickets; I believe the rule is basically that if the revenue ticket earns miles then it can be used for a companion ticket.
It is also possible to ticket a single RT companion ticket when the two paid segments are on different tickets.