I think that this is a very dangerous statement. My understanding from the research is that rape is not inherently about sexuality or contact, but about power and entitlement.
I am a lonely man by nature of my circumstances, but I have no sense of entitlement to the bodies of others. Lonely people don’t want to rape others. They want to have a connection to others.
I would think that disaffected, entitled people commit rape. A man may be lonely by the fact that he feels marginalised by society/women, and that he is entitled to women’s bodies out of frustration, but the loneliness isn’t the issue. The entitlement and disaffection is the issue.
I think with this statement you idea you risk forcing those with social issues such as depression into a negative space by associating them as potential rapists. Having had clinical depression in the past, being told ‘people think that you are a potential rapist because you are lonely and isolated’ would certainly not have helped.