Yep! I was able to start biking 6 months after surgery and the first few months were tough, but around month 4 fully regained confidence.
I'm about 17 months post surgery and still feels a little bit off at times, but nothing it prevents me from doing e.g. went on a 6 hour mountain bike ride last fall without any issues. Idk if I would run into issues doing long distance backpacking.