It’s a possible scenario, google ‘exploding refrigerator’. [0]
Also, there wouldn’t be fire code [1] and insurance requirements for refrigerant detection systems in rooms containing mechanical equipment with refrigerant in them unless it was an actual danger. Building codes are written in blood, as they say.
[0] https://www.yahoo.com/news/blew-across-home-appliance-expert...
[1] https://codes.iccsafe.org/s/IFC2021P1/chapter-6-building-ser...