Modelling flexible joints

Is there a way to model elastic joints in Gazebo?

It might be possible (mis)using the CFM and ERP parameters: Open Dynamics Engine . I know it works in ODE, and it might also work in other engines. Probably not in Simbody, which uses a completely different computation mechanism.