Yes, bonus rounds are predetermined by the developer. They are an integral part of the game to make it more exciting. But some modern slots may also have bonus rounds with several modes allowing you to customise them or pick your preferred option.