License optimization and segregation of duties

Hello everyone, I would like to hear your experience in setting up the bots in a large multi-departmental setup. What are the good practices to optimize the licenses while still ensuring that segregation of duties is maintained among bots. Many times smaller departments might have only couple of periodic processes they want to automate and in that case should they just reuse the idle bot from other departments?