Sanitary plumbing elbows
There isn't any rule/code against it.  Once you hit 135 degrees you are required to have a clean-out - if they look.  I would personally use two 45s or a long-turn 90.  If you buy a short 90 the world won't explode but you will be pumping your stuck toilet more.