Q: Can I say "the sofa was broken" when the foam of the sofa got loose and too stretchy to be usable? The word "broken" has 2 meanings

1 : separated into parts or pieces by being hit, damaged, etc.
The street was covered with broken glass.
2 : not working properly
a broken camera

So, when you say "The iphone is broken" it could mean it is in pieces because you dropped it or it could mean it got malfunctioned (maybe because of its software error).
Now, I have a couch or a sofa which is not a machine. After using it for a long time, the foam of the sofa got loose and so stretchy that when I sat on it my bottom almost touched the floor.
So, the sofa was not literally broken in this case, but it was not usable.
I guess we can say "the sofa was in bad repair".
But I still want to ask this question:
Can we say "the sofa was broken" in this case?
