Typically, the term "botnet" refers to a criminal undertaking. In other words, a botnet can only be formed using illicit means. With that said, there's no technical reason botnets couldn't be used for good.There are also entities that are similar to botnets created with the consent of the users involved. These are usually known as "distributed computer networks."