I'm pretty sure you can set this up within the options of a camera, but it's not particularly easy to access. It'll be within your cameras menu system, much like when you choose to shoot in RAW+JPEG or JPEG, etc.
The best thing to do however is to shoot in RAW or JPEG and convert your photos...