I don't think it would happen though
my explanation would be as follow
If you were a bad person in this life, you would be reincarnated as a frail one in your next life, such as a weak girl who cannot even scream when she gets violated
then the rapist would be the one to carry out something called "Divine Punishment" and he commited a sin at the same time
and in the life after that next life, you, who had been raped, would be born into a rich family with every bliss and bless at your disposal
meanwhile, the rapist, who carried out the "Divine Punishment", would become a raped victim in his life after being reincarnated
thus, your happiness wouldn't be the result of your harsh previous life but rather the theft of some bad person's, such as the rapist in my example