Defining other bounding volumes for Optix

I wanted to know if you could tell me if it is possible to define other bounding volumes for optix ray tracing programs.
Instead of using a cuboid aabb could I define a sphere or another other shape?

I wanted to see if it is possible to test what is mentioned in this post but in optix?

For example using a triangle bounding box as mentioned early in the article.

Nope, the acceleration structures and BVH traversal algorithms are abstracted by OptiX and not programmable by the developer using OptiX.