Yes. A replacement barrel of the same caliber and "configuration" is OK in SSP.
Are you doing it to avoid worries about lead bullets in the Glock barrel?
I do not think you need a "match" barrel for IDPA, the targets are large and close and a factory barrel is plenty accurate. Probably better than the aftermarket barrelmakers would have you think.