Could rectal prolapse happen from having anal sex?

It would be rare! It might be a very uncommon factor, but for the most part no, particularly if a condom with proper lubrication is used! but it can aggravate a pre-existing prolapse!