Was Epicurus using people's positive views of the best possible unperturbed state of mind (as envisioned with peaceful gods) as a goal of our practice to prudently live pleasantly?
That seems to be the case. It also seems to be the interpretation of the "idealist" theory of the gods, which is contrasted with the "realist" theory. There are several threads in the forum discussing these two interpretations.