Can you edit field values based on other fields?

Can you edit field values based on other fields?

For example, I'm creating an onboarding request form but have pre-approved roles. If the new user coming in is assigned to one of these roles, all the options on the form automatically get filled out with pre-approved options, such as the shared drives, type of hardware, accesses and software. This way the requester can just verify everything is okay without having to manually put everything in and if they do need anything special they can just add it in