In my experience, if the cylinder fits another frame, it will work in it without further fitting.
Work, probably, but how well??
The cylinder from gun A might drop into gun B and work flawlessly. Or, it might not. It might work well enough to fire, but shave lead badly, being very slightly out of time for the frame it was not made to fit.
if the stars line up, you're golden, but you can't count on the stars all lining up right. There are many different factors involved, which is why factories fit individual cylinders to individual frames in the first place.
You should not expect to be able to drop in "any old cylinder" of the right size and have it work properly. it might, but if it does, that is serendipity, be happy with it, but don't depend on it.