How to apply a theme function/template to my form
Is there a #theme property (or something like that) available for forms, which I can set to my theme function/template file?


Yes there is. Take a look at the #theme key in the Form API Reference. Take a look at the code for theme_form() for the default implementation.