After vigorous washing by tap water followed by freeze drying and grinding into fine powder, you can extract crude protein and lipid by Kjeldahl and Soxhlet methods, respectively, from insects. There are plenty of papers for your reference in internet.