Custom ray tracing algorithm

For real-time rendering, I’d like to implement a custom ray-tracing algorithm in UE4. Is this possible?

Preferably, I’d like not to modify the UE4 source code.