I haven't done it, but there are many, many recipes floating around. Some use the standard 2:1 liquid to rice ratio. Some use more liquid, like 2-1/4 c to 1 c rice. I suspect that gives them some leeway on time, allowing it to sit a while. Temperatures run from 325F to 375F, and times vary around 45 minutes. It's most popular with people needing large quantities of rice. You have to start by boiling the liquid to pour over the rice before it goes in the oven. So it hardly seems worthwhile for a normal quantity.
Cooked rice can be held for a time, but it suffers some and again isn't worth it unless you have to. And pilaf holds much better than plain rice. I'd honestly just make it on the range top, timing it to finish before they arrive, and use a little extra liquid so I could let it steam over the lowest of low flames or let the pot keep warm in the oven while you greet and meet and prepare for eating.
If I had this problem, I think I would approach it with a slow cooker subing for a rice cooker, pouring boiling water over the rice and turning the cooker to low to hold the rice.