I'm not sure that would do what you're hoping. We don't treat SVG files as images within the software so they'd just appear as an attached, downloadable file - not an image.
If that is the desired behaviour, the workaround for now is to just upload it within a Zip file.