Gradescope offers an Online Assignment type that could be helpful here.
With Online Assignments, you can create questions on Gradescope (short answer, free response, multiple choice, select all, and file upload). Students log in and type and submit their answers directly within the Gradescope interface. For multiple choice and fill-in-the-blank questions, you can specify the correct answer ahead of time and Gradescope automatically grades student responses. For free response questions, you can grade student responses manually on a rubric. For File Upload questions, students can complete their work on that question outside of Gradescope and then upload a photo (or any other file type) of their answer.