No you can't. Certificates have a purpose built into them. SSL certs generally have server and client identification as their purpose. Code signing has it's own purpose.
You can generate a self signed code signing cert, it does need a few hoops but of course Windows will warn people about it.