Yes, it would, though trich is harder to find in men than women in testing.
Have you seen a doctor about this? Followed up with your urologist? It's been going on a long time.
Google CPPS in men and see if that fits.
It couldn't hurt, if you can afford it, but it really doesn't seem like that's what you have going on. Continue to work with your doctor about treatment.
Here's some decent info on CPPS - https://www.verywellhealth.com/prostate-pain-treatment-2564490
It's tricky, unfortunately.