depends purely on the marker.
If your talking about a marker you already own, you will need to look at the foregrip, usually the gas will enter the foregrip somewhere along its length (its bottom, or at the side), and there will be a hole in the top (if you unscrew it) where the gas enters the marker.
If this is the case then an expansion chamber should swap straight over. if that not that case, then more fiddling will be involved, and more will need to be known about the marker.