Yes, you can put a mouthwash such as Listerine into your Waterpik. Listerine has been clinically tested as safe for use in the machine.
You can use the mouthwash to floss or to clean your machine. Make sure you rinse the machine well after putting Listerine in it.