If it is a medically approved shoulder brace and doesn't cause her discomfort, then I see no harm. In fact, if her shoulder pain is caused by her slouching, it will probably be beneficial. If she has any doubts, she should check with her physiotherapist.