Can you ovulate 3 weeks after giving birth?

Possible. 3 weeks is a little on the early side but still possible. Unless you are trying to get pregnant again, which is not a good idea so soon, use protection or wait.