Welcome to Microsoft Q&A Platform, thanks for posting your query here.
Currently there is no straight way of achieving your ask. As a work around, you can go to the image version itself and then can add a deny Assignment in the IAM process. However, this is going to be too much as you might have to add everyone to the deny assignment.
As this feature is currently not available in Azure Compute Gallery, I would request you to submit a feedback item here as a feature request. This way the product team can check on this.
Hope that helps.
If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.