Nowadays iso to dmg conversion is really to achieve using most disk image conversion utilities or disk image handling software. This is usually done so the .iso images can be used on Mac since DMG is the preferred format on that platform. However, keep in mind that this won't work if you are trying to convert some Windows program installation disks to Mac one, that's simply not possible.
Open ISO file Open DMG fileA disk image converter utility for Mac formats