The fact that it happens is enough to put it in the last resort bracket for me.It's very common to have dry lining boxes for pullcord shower isolators in my neck of the woods and the plasterboard very rarely fails around the box when properly fitted.
So rare I can't remember when I last saw one.
Dry liner boxes were not designed for that and would be dependent on the strength of the plaster, how good the plaster is fixed to the ceiling and where between the joists that the liner would be.
Also, there are unknowns that can happen at a later date, like a water leak.
I would rather use a noggin, drill a hole for cable and mount the switch properly.
If a flush switch is wanted, then use a metal back box fixed to the noggin.


