Unfortunately not, tumblr requires you to upload any html code via their own system for updating your blog. You can however host things elsewhere, then refer/call them from your tumblr code.
People have tried small 'campaigns' before, to get tumblr to offer FTP but there hasn't been any visible success from these.