Will having a moist flower garden up against a wooden basement increase the chances of rotting the basement?

Yes. Beds should be kept a distance off of the house to insure the water doesn't soak the basement exterior walls.