That usage may sound strange to some people, but it isn't technically wrong.
The issue here is anthopomorphization (talking about a nonhuman thing as if it were human). It is usually assumed that only living beings (capable of feeling pain) can suffer.