Yes, it is. For that you have to use the macros ChangeMaterial available in C:\Altair\Extensions\Macros\Macros_ChangeMaterial
There are three macros allowing changing the material on line, face or volume regions.
Note: All the material should be created in the project before solving.