T239474 will add support for units to the quantity input type.
The units autocomplete will make it possible to search for items to act as unit, but not all of them make as much sense.
E.g. when looking up "cm", you're way more likely to want to use "centimeter" as a unit, than "Cameroon".
The autocomplete should boost some items that are good candidates for units.
See T312962 for the Wikibase equivalent of this.