Yes.
WordPress assigns a subsequent post ID to the uploaded image.
I am facing the same problem, since I want to separate these media from “posts”.
Still searching for a solution. Putting media into the same table of posts is not a good idea for me:(