Q: "Is it possible to use curly braces to list multiple packages that have the same prefix?"
As far as I understand, no. This is because Brace Expansion is provided by the shell, whereby according the documentation apt
- Parameter: name
Name wildcards (fnmatch) like
apt*
and version wildcards likefoo=1.0*
are also supported.
are provided by the module.