You never know until you try. Go for it and see how she reacts.

Could you perhaps replace the closet door with a regular screen door? Its probably cheaper than the cost of three baby gates. and would be easier for you to go in and out.