Hi @agatakrason
Yes of course , you can create a node with your mesh and compatible FEM and mass and one of the collision models type like TriangleModel OR SphereModel .
Indeed SOFA is designed for physics simulation in real-time for deformable objects and involving collision. I noticed your contact email, I will reply to you tonight.
You can have a look to the documentation page on Collision.
Examples are also available in SOFA in the folder examples/Components/collision