Parametric Relationship Interactive Walls, Floors

Does anyone know how to create interactive walls in Three.js that automatically adjust when a connected wall is manipulated? I have a room modeled as a GLB file, comprising four walls and a floor. For example, if I stretch one wall, the adjacent wall, the opposite wall, and the floor should adjust accordingly to maintain the room’s shape. Is it feasible to implement this functionality in Three.js?