Thank you for reaching out to the Zoom Developer Forum. Unfortunately, we don’t have a function to disable Gallery View. You might be able to accomplish this with custom CSS though.
If you would like this feature to be considered for a future release, I recommend posting in the #feature-requests category.