Can I test my collision detection algorithms in UE4?

I am doing some academic work, but I am beginner with UE4.
I would like to benchmark some algorithms I have on UE4 level editor (without using the engine source code). So would like to check if some of you can provide guidance if this is possible and how should I proceed in case so.
I would like to be able to add 3d collision detection algorithms and check its performance on profiler. What steps should I follow to assign my algorithm in a level and use it as some kind of personalized collision detection code?
In case possible, can I measure the performance specific code code?

I am using some variations of bounding volume hierarchies like AABB, ODD, and 8-DOP.