Anything that can be uploaded on a computer can be uploaded into an assignment. However, Moodle will enforce its limit on the size of uploaded files. For example, if you require your students to create a digital photograph, this option might work well.
Remember that a Moodle site is configured with a limit on the size of files that can be uploaded into Moodle. If you require your students to create a video, you might need to find another way for them to send you their large video files.
When an assignment requires the student to upload a file, the student sees something like this:
When the student clicks on the