Is it possible to use some sort of wildcard or special syntax for the restricted command feature so that it can applied to variations of the command, such as a range of IP addresses?
No. Unfortunately, this is beyond the scope of the current capabilities of this feature.
The restricted command filter will match the exact spelling of the command you enter, including options.
Any variation of this command syntax will not be blocked. For this you would have to set up multiple restricted commands that could each be matched.
More information on this feature can be found in the TPAM Administrator Guide in the Restricted Commands chapter.