Is there a way to save any type of selection in a group?

The Select Panel add-on also allows to save Vertex Groups: Select panel