If there is any prohibition it is in the building code. Loomex can be installed in the cold air as Eddy said previously. I have seen lighting outlet boxes installed there but I have not seen a pot light. I think you'd want at least an IC just to ensure the bulb doesn't get dust encrusted and use a gasket on the trim too.
I don't know of any prohibition in section 30 either for the luminaire.