It's possible to create a specification attribute of type bool (yes/no), number or text and enable filter ?

Example

attribute type text -> Filter should work with like clause or  whole words matching (ignore case)
attribute type decimal -> Filter should work with range of value (like price filter).


and so on