"Flashman and the Mountain of Light" by George MacDonald Fraser. HarperCollins paperback published 1990.

The British Empire needs a man to satisfy insatiable lust and indulge in conduct unbecoming of a gentleman.  Fortunately, it has Harry Flashman.