Yes, but it depends on what is causing infertility. Nonetheless, results can vary from test to test, either for the better or for the worse, as long as it is a case of temporary and treatable infertility.
A man's sperm quality can be improved if, for example, stress or an infection was the reason behind it. And the same applies in cases of women suffering from a hormonal imbalance.
However, when infertility is a consequence of cancer treatments such as chemotherapy or radiotherapy, or is caused by non-obstructive azoospermia (zero sperm count) or early menopause, we are talking about permanent infertility and improvements cannot be achieved naturally.