"Yes I can imagine that" is correct and usable in written English. You can use this phrase when you want to agree with someone or when you want to empathize with someone's situation. For example: Friend: "I can't imagine how he must feel right now." You: "Yes I can imagine that, it must be very difficult for him.".
Or I can imagine that, anyway.
I can imagine that happening.
I can imagine that would produce tremendous anxiety in people.
So I can imagine that was already sorted out".
But, yes, I can imagine the resentment too.
When I feel like I can't trust my brain 100%, Ludwig really comes in handy. It makes me translate and proofread faster and my output more reliable.
Claudia Letizia
Head Translator and Proofreader @ organictranslations.eu