Using PHP in templates

For the template I'm porting from Wordpress to Pivot, I need to use some PHP coding. In all the themes for Pivot I tried so far, only html files are used as templates. Can I use PHP files as templates as well ??
Our members make it such a great resource!
http://forum.pivotx.net/