Writing to RAW files is sometimes possible, but can be dangerous. Even the software from camera makers dealing with “their own files” makes mistakes, that make the files unreadable in other software (unless you want to assume malicious intent on the brand’s part).
See e.g. this thread on pixls.us