Installing a 60" dual sink vanity in a master bath. Each has its own 1.5" drain stub out.

To maximize space inside the cabinet I would like to route the drain piping in the manner best suited to the layout. What it means in English is i want to use up to 3 90 degree elbows downstream of the trap.

The sink tailpiece will go directly to the trap, but after the trap I want the feedom to route the pipe to my liking. Is it OK to use 90s after the trap?

Thanks.