The
vet visit would certainly alleviate some worry, and an xray would tell you exactly what is going on and the vet may even give you some sort of a laxative to help it pass more quickly and verify whether surgery is necessary. In the mean time, you can give him some warm baths to help stimulate a bowel movement. Make sure he has plenty of water and proper heat.
Really, in the long run this will just happen again with something else. Iguanas love to free roam, but they are very curious creatures and often end up eating things they shouldn't, or knocking things off of shelves, or otherwise damaging things or getting hurt themselves. I've seen broken toes and ripped out toe nails from household carpets (and curtains). I've seen
metabolic bone disease from not getting enough UV from wandering around all the time. I've seen impactions caused by paper, cat litter, even something as simple as carpet fuzz from repeated tounge tests as they wander around. They are much safer in an enclosure of their own.
Rav