Can I safely flex my ankle to retrain it, one week post surgery if I have no pain?

Post surgery. It depends on what surgery you had done. Generally one week post operatively we don't recommend any motion.
Depends. It would be best to talk to your surgeon since he can explain why or why not depending on you surgery.