Plumbing Team;

Currently my double bowl sink is vented under the sink with an AAV, which does not seem to work very well. I am wanting to vent my sink to the outside, but I have a question. Can the vent pipe run at an angle before it goes vertical? (Diagram attached)

Please advise.