Pyreaux,
Exactly!
The grammar supports this. After discussing the premortal spirits in Abraham 3, Abraham 4:1 says "and they, that is the gods, organized and formed the heavens and the earth."
The only plausible referent for the "they" is the spirits discussed in Chapter 3.
Therefore "the gods" are the premortal spirits.
Don