You can hide the ability but you won't be able to cast it, even with hotkeys.
For passive abilities, this is used a lot of times.
You put the ability inside a spellbook and give the spellbook instead of the ability.
On map initialization, you disable the spellbook for all players so the spell book is not working/showing. The content of the spellbook still is. (Working, not showing.)