There are no restrictions on what type of files you can add to a workspace. The templates just provide a barebones version that can help you start on programming. For some types, like php, it also installs all the dependencies that you would otherwise not need in a nodejs workspace.
Hope this helps! Happy coding!