As long as they are the same caliber. 223 / 5.56 yes. 5.56 to 6.5, 6.8, etc. Defiantly not.
Caliber only applies to the bolt, not the BCG. You can put any of those caliber bolts in any BCG. I have a 6.8 AR with a M16 BCG and a Stag 6.8 bolt. They are in a Palmetto State Armory upper.