The Elizabethan long galleries were used as a place of general recreation - sports, dancing, etc. - at times when it was not possible to do those things outdoors. There are a couple of big houses near me in Sussex with such galleries and - as you say - they're now used as showplaces for works of art, family antiques, etc.