I saw a few hash modes like md5(md5($pass)) and was wondering if there is any way to do this manually and set it to run each pass through MD5 10 times, or a few times through MD5 and another few times through SHA1 or something. Apologies if this has already been asked. I tried searching here and other places for an answer, but found nothing.
It's not possible*, but John The Ripper has a dynamic format which is closer to what you want:

* Unless you code that yourself.
For arbitrary iterations of hashes, mdxfind's -i flag can also be used.