No, this has come up several times, but no, it is not possible. You could try to work with the toggle field as a workaround, but it’s still not ideal. Or use subpages for different files types.
Another option could probably be custom fields that are shown depending on file type: File fields dependant on file type?