The FSB is either pinned on, or just held on by set screws, or a clamp type....very easily removed. The only problem with that is the barrel has the gas hole already drilled in it at a specified point, whether it's a 20" or 16" barrel, so you can't move the gas block forward or backward...it won't be over the gas hole in the barrel where it needs to be.
Now, there are solutions for what you want on a 16" barrel...check out the upper I just built. I has a low profile gas block, and I used a rifle length tube on it. I think it looks cool, and the tube completely hides the gas block.
For a 20 or 24" barrel, I think you're SOL...I don't know of a way to do that, unless there is an ultra long tube for a 20" barrel I haven't seen yet.
Are you thinking about this for a specific rifle, or just kinda "what if"ing?