Black soldier flies are edible and quite nutritious, and can be used as an entertaining, unique treat for your pet. Chameleons in particular seem to enjoy the flies. Keep in mind that black soldier flies only live for about 5-8 days.