Yes, usually, but it depends on the specific in-wall body and how it was installed.
An in-wall shower mixer is designed so the functional parts are hidden inside the wall while only the trim plate, handle, and outlet components remain visible. In many systems, the cartridge, seals, and some service parts can be replaced from the front without opening the wall. This is the preferred and simplest type for maintenance.
However, if the internal body itself is damaged, cracked, incorrectly installed, or incompatible with replacement parts, servicing may require access behind the wall. In that case, a section of wall or a service panel must be opened to remove and replace the concealed body. Some manufacturers provide accessible service designs, but others do not.
Whether it can be replaced after installation also depends on how the plumbing was done. If the valve body was firmly fixed into the wall structure and connected with soldered, glued, or rigid pipework, replacement is more involved. If it was installed with removable fittings and there is an access panel, the job is much easier.
So the short answer is: yes, an in-wall shower mixer can often be serviced after installation, and sometimes replaced, but full replacement may require opening the wall unless the system was specifically designed for front-side maintenance.
If you want, I can also tell you how to check whether your specific mixer is serviceable from the front.