If we’re talking about a single peer, yes the IP can be found out. For example if a file was searched via:
ipfs dht findprovs QmQmgCHB5wd1LCRDCYXW4VPvSmsUDhYfgGxerpre6xWz8v
The returned peerIDs can be looked up via
ipfs dht findpeer <peerID>. However with the nature of IPFS, many people could be providing that file, just by accessing it they may be rehosting it in their cache temporarily.
If you’d like to completely hide your IP address, and share data, you can use IPFS behind something like Tor, I2P, or a VPN.