Stem should be able to repurpose existing circuits using SETCIRCUITPURPOSE (This led to #6667).
I've pushed my implementation here.