This is largely a nod to the Taneleer Tivan of the comics, who is similar, and more fleshed out, but with a few important differences.
While the MCU version of Tivan portrays him as just an eccentric collector so far, the comics version has a personal mission of collecting artifacts and subjects and keeping them safe so that the Universe could be repopulated. Marvel Universe explains:
Determined not to succumb to his wife's malady, the Collector meditated upon what he might do to give his life meaning. In a vision, he foresaw that beings of great power would arise one day determined to destroy all life in the universe. To prevent this from happening, he decided to devote his life to collecting living beings and artifacts from throughout the known universe, and placing them in safekeeping. As a fail safe if what he foresaw came to pass, he could repopulate the universe and bequeath to them the knowledge and culture of the past.
Tivan has been a villain at times, but has also worked on the side of good at others.
Not only does Tivan have a personal mission to keep all of these artifacts safe, he also has ten heavily guarded museum worlds, as well as a ship that remains in hyperspace almost all of the time to avoid being detected. Additionally, he has "temporal assimilator" which can be used for limited time-travel.
And, like I said, it's largely a nod to the comics, as in the comics, Tivan possessed the Reality Gem (though, he did not know of the gem's true powers at the time), until it was taken by Thanos.