I think you have your answer already (it's a yes), but I guess you could do with some extra details. It might be that you thought impersonal sentences worked only in the present tense because a certain significant subset of impersonal sentences do tend to appear in the present, being general or atemporal statements, for example:
- En este restaurante se come bien.
- Se habla español e inglés.
- Se cree que los fósiles hallados corresponden al Cretácico.
But it's perfectly grammatical to form impersonal-se sentences with other tenses. Actual examples using the compound perfect and the imperfect from Wikipedia:
Se ha conjeturado que la primera persona en haber defendido la idea de una Tierra esférica fue Pitágoras (siglo vi a. C.)...
La idea extendida y falsa de que durante la Edad Media se aceptaba que la Tierra era plana se introdujo por primera vez en el imaginario popular en el siglo XIX...
And using the future tense and the compound perfect, this is from a passage in a translation of the Tibetan Book of the Dead:
Si se va allí, se entrará en el Infierno y, sufriendo dolores insoportables a causa del calor y del frío, se necesitará un tiempo muy largo para salir. No te metas en medio de todo esto. Se ha dicho: “Ejerce tu energía hasta el límite extremo”, en este caso no es necesario.