Yes, if you have a picture in a post and control the website, you could log the IPs of those who read it. I've only run into this once or twice and put a stop to those doing it. For those worried about it, in your settings (Tools > My Settings) you can turn off images being embedded, which stops from being "tracked"