body damping values

The angular and linear damping values are set in the b2BodyDef when creating bodies, but there are no functions to modify these values directly after the body is created. Would it be ok to modify the m_lineardamping and m_angulardamping values?

Original thread: https://box2d.org/forum/viewtopic.php?t=1400