What you are wanting is to disable a set of commands to have those commands then replaced by a different set of same-named commands on the fly. That's more than just disabling a particular category (also, there's no way to simply disable even a single command on the fly as it stands).
What you would probably be better off doing is creating different profiles. One profile for the space station and one profile for the space ship. Then, have each of those profiles link to a profile that contains their common commands.
So, 'jump' in the space ship profile will have one set of actions and 'jump' in the space station profile will have a different set of actions. They both link to a third, common profile that has, 'open spotify' or 'tell me i'm handsome' in it
.