I think it would work, because you are just boiling the water out of them. However, there could be an issue with some materials melting or catching fire at the temperatures involved. I reckon Cotton boxers would work, but stuff with polyester or other manmades might start to melt.
Rgds
Radderfire