Yes, cytokine like IL 17 increase an enzyme called IDO which pulls tryptophan away from the serotonin production pathway.

https://www.researchgate.net/figure/Effect-of-IDO-on-seroton...