What do you gain? A better ear - with a fretted bass you take being in tune for granted as the frets do the work. With a fretless you have to listen more to what you are actually playing because it's easy to be out of tune.
Even if you never play a fretless in a band situation it's a nice technique to try to develop. Buy wisely and you may not lose any money on selling.