Absolutely.
I got my kit specifically to trigger software drums. A huge library of built-in sounds was not an issue, as I didn't intend to use them anyway.
I do pretty much the same as Johnny, monitoring the line out of the edrums, along with the output of the other tracks from Sonar.
The setup pictured below was relatively inexpensive to put together, and offers a wide range of control.