I have a few friends that were in pro pelotons in their youth. All have had successful hip replacements and all ride frequently and aggressively.
My father has had both hips and both knees replaced (hoping I got Mom's genes) and still does 10-20 km daily rides on his Trek Lime.
Good luck and good health.