In my opinion, yes, a 10 gallon can house a single adult leopard gecko for life. They are terrestrial lizards, however, meaning that they stay low to the ground and don't climb, so they like floor space more than height.
If you ever feel like you want to spoil your lizard, a 15 or 20 gallon tank would be perfect, but like I said, a 10 gallon works fine.