It might raise it in the short term but lowcal and fasting lowers free T in the long term. But lowering bodyfat helps with testosterone levels. Pros and Cons
Heads up. I did IF and low cal for most of covid. I lost weight but it really messed up my hormones. My SHBG rose thus lowering my free testosterone to the levels of a 90 year old.