The installation instruction book should say. Most I've looked at require there be a constant slope like a drain line so any condensation or rain water can drain to the drain point. So, yes, I think you may have problems with this.
Also, the instructions will say what the limits are in length. Each elbow shortens the effective length. You need to ensure you stay within the specs on length as well.