Si, con window.scroll, oppure se fai un div enorme usi getElementByID().scrollTop.