Executing a role dependency on all hosts in a list before executing main role

I’m relatively new to Ansible and I have a question about role dependencies.

Is it possible to have a dependency execute on all hosts in a hostList before proceeding to perform the tasks of the given role

Just a sudo code example