Can I use scene capture cube with path tracing?

I was trying to make an HDRi of my level using a scene capture cube with path tracing. Is it possible to do that and if not, is there another way to achieve it?