Yes, you can add roles to project. Later, you can use the “Search” (replace) feature (the magnifying glass icon) to replace the role name with the resource name once identified.
If you have assigned the role to specific tasks, the resource will inherit those tasks when replacing the role.
Also, this might be a bit farther out for you, not needed now: If you have rates in your rate matrix by role and department, you can put roles on your project and then select the department that should fill them using the Staff OBS column. Then, when building your Cost Plan from Team\Staff (allocations or assignments), CA PPM will use the role and department from Staff OBS column to find your rates and complete your Cost Plan.
Go for it and have fun!
Dale