There are some ways of doing this, one way is Tortilla.
Whonix gateway can also be used for this.
A router with custom firmware that includes tor transparent routing.
WNR3500L router supports it through for example tomato USB firmware
A raspberry pi set up as onionpi can also route all traffic.
Or a second pc with for example Debian, installed as a middlebox for tor.
See examples here.
Just keep in mind windows is not considered secure because it's closed source, and can leak in many ways, but still - to answer your question - yes it can be done.