It is possible to create a simulation with polygon prism.
However, I would like to know what is the problem you want to solve or what is the purpose for your request?
So that I can design one better suit your need?
For example: Does all the inside angles are all equal, or it can be angle angle?
Does the side of polygon changable? Do you need the intensity for all rays to be calculated? ...
Please write down what you really want in detail?