No, because you can't - MIDI files are not audio files, just streams of digital code. If you want to write the sound information to a CD you have to record the audio siganl digitally first - if you're just using your PC midi sounds, this is easy to do, not so easy if you're using external instrument(s).
Need more? Just ask.
matt