Don't remember the details right now, but in some bark beetles, gut microbes produce pheromone components. We have been maintaining our insect culture and have been recording the "sex ratio" for around 4 years, but, we have not seen any difference in the sex ratio. You may also like to read the literature dealing with the "holobiont" concept. It may be of help to conduct your experiments. Pheromones are chemicals capable of acting outside the body of the secreting individual to impact the behavior of the receiving individual. Thanks for your wishes.
Good luck with your research.
Are "sex pheromones" really produced by insects?
Interestingly, the genetic configuration of a person's HLA complex immune system appears to be expressed in axillary scent. A pheromone is a secreted or excreted chemical factor that triggers a social response in members of the same species. The sex ratio of our insect is always 1: I think the data are strong and this is likely to be real. American Journal of Human Genetics