If you were to purchase two identical barreled actions with the same manufacturers barrel and profile just in different barrel lengths, could you bed one action and still use the stock as a swap out for the other action?

Granted the ballistics, ammo and zero's would be different, but if both actions were permanently scoped and packaged with their favorite loads, is there any problem with this idea?