Can we restrict a user to not upload certain file types in a document of record?
Yes, we can restrict users to not uploading a certain file format. Setup and Maintenance Manage Attachment File Formats This task allows you to configure the file formats that you want to restrict from being attached. The feature works as an "exclusion".