Can you get leptospirosis from a pet bunny rabbit?

Highly unlikely- Other infections such as franciscella tularensis (tularemia) potentially, yes- but not leptospirosis from petting a bunny. However, if you are the one responsible for cleaning up rodent feces and urine, you could get it if the bunny is infected and one were to inhale dtried particles of its feces or urine.