You already can do it by clicking in the options on the graphs of the taxon and clicking “Add Annotations for …”, at least for "Life Stage and “Sex”
I guess it also could be added for the search bar though. I am sure that there is also an option to do it with a iNaturalist’s Search URLs , but I really do not know.