Yes. While in the past, it was difficult to convert pistol ammunition, these days, there are conversion kits you can use to change the ammo you’re using. The kits are well made that they can be swapped out even by yourself, provided you have ample experience.