Yes it's possible. You may find any info on pdflatex with
Please read the
shell-escape section carefully.
Furthermore you may consider to install a TeX Distribution like http://www.tug.org/texlive/.