Sure, you can use pretty much any kind of pasta that you have handy. Maybe don’t try it with really tiny pasta like orzo, though, because its high surface area could throw the liquid-to-solid balance out of whack.