In principle, some of them can be yes. Though genetic reference datasets tend to be much larger than, e.g., codebases -- and therefore require different approaches.
One of the core things we're working on is a data structure for more efficient, constant-time sequence lookups, and we've definitely thought of some non-bioinformatics use cases as well. Happy to answer any more specific questions by email too (in my profile)!