Sure it is. Keep in mind that torque is a through-quantity so you need to place a Torque Sensor in series with your mechanical connection, while speed is an across-quantity so you need to place your Speed Sensor in parallel with the node of interest. I hope this helps!
Kris