Does the sentence "Polytheistic religions commonly attribute to each of the gods a gender, allowing each to interact with any of the others, and perhaps with humans, sexually." answer the question "How do polytheistic religions view sex by God or gods?"
yes