Yes - using a frameset. You can load a library JS file (for example) in a top frame, and reference it from all other frames.
I have used this to good effect before, but only specifically where we had a pre-existing frameset. Sometimes the use of frames is not within the spec, so you'd need to check that out first.
Hope this helps,
Dan