It is possible; you probably need to use the Win32 API for serial communication (e.g. Serial Communications in Win32 | Microsoft Learn). Using the Win32 API for anything, however, can be (to put it kindly) a nightmare. If all you need to do is write data from the Arduino to a file, you might try Processing (it can even generate standalone executables). There's a bit of info here: Arduino Playground - Processing