Is it safe to sleep on my back at 17 weeks pregnant?

Yes. This early in the pregnancy sleeping on your back is not an issue. This idea comes from patients in labor. When people are in labor and the fetal heart rate goes down wwe can move you to your side to increase blood flow to the placenta and baby. At 17 weeks it is not an issue.
Yes. You may sleep in the position that you find comfortable.