Shouldn't be too hard. You'd potentially have a problem if the porting gets too close to the muzzle (need enough room for the threads), but there's probably some sort of workaround (facing until it's past the porting?)
Then it's just an adjustable die and some cutting oil!
Nemo Me Impune Lacessit
Nemo Malus Felix