With all the hot steaminess that we create in the bathroom this is a valid consideration.
Photos framed behind glass have always worked in my bathroom. One of my daughters could drain the hot water tank with one shower, so you can imagine the steam. So yes, it can be done.
With the variety of options for print medium today why risk damaging something that you truly love and paid hard earned money to acquire? Why not go with a print on metal? They are waterproof and will be able to withstand all that hot steam and moisture of the bathroom.
Photos printed on metal have a unique and beautiful look. Be sure and look at the metal print option when shopping for your bathroom decor. The above Atlantic coastline scene is available on metal as are all of my photographs.