Can extremely painful defecation (with any diet) be the symptom of prostatitis, is it more common to acute or chronic prostatis?

Dyschezia/painful. Defecation can b due to constipation/tumor or prostatitis (acute more likely in your age group). Hemorrhoids (internal)also a possibility. Suggest see urologist/pcp for tests, evaluation, treatment. Keep stool soft with added fiber & fluids &/or stool softener. May also need sigmoidoscopy/colonoscopy.