Y fitting going against flow

This is a bathroom sink drain for a double sink. Is it ok or allowed to have a Y fitting aimed or going against the drain flow?

2F533CE6-AB7F-4CCE-AAC7-DB94434B89CB.jpg

No. That’s a hack job.

Amateurish plumbing. improper fitting orientation, unserviceable trap…

Sanitary tees as pictured are not to be on their back.

Wrong fitting. Hack work.