It is definitely possible to grant a user view only permission to a project in Jira. The way you set permissions is different between what we call classic and next-gen projects.
In a classic project a user should be granted the browse project and view read-only workflow permissions. In a next-gen project you would add that user to the viewer role.
Read more about project permissions in the documentation:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.