Actually we do support PHP here. You can use some PHP in HTML Templates but nothing too extensive or it becomes more of a CMS or something else. Also, HTML templates sell better if there’s also an HTML only version of it.
You can build your own custom CMS ’s I suppose but you’d be better off using something like WordPress and just customizing it to fit your needs.
Hope this helps!