Can anhedonia cause sexual disfunction (no meds)

I wonder if this is a side effect of being anhedonic or a potential brain injury