In most cases, a garment bag that can be folded and fit into the designated carry on space, is allowed to be considered a carry on. The risk of the bag being destroyed or the clothes being ruined however are on the person making the choice to carry on the garment bag.