Might want to post your question in the Class III forum instead, since putting a stock on a pistol would be creating a Short-Barreled Rifle (SBR), which is governed by the National Firearms Act. There is a specific procedure for legally creating and registering such a weapon.