Howdy, and welcome to the board.
Yes, you can do two cells with nesting, then use a third that references those two. (I have nested as many as 15 IF's, but it becomes unwieldy and difficult to troubleshoot)
However, a lookup table is far superior, more flexible, and easier to trouble shoot.
Can you post a sample of the data and what you are looking to do?