Yes, "forever" is an adverb that can be used before or after the modified verb or adjective. When used before, is has a bit more formal or classic sound, at least to my ear. When used after the modified word, the meaning tends toward "without ever ending." When used before, it also caries a sense of "continually."