Yes, you can easily substitute gluten-free pasta or rice in this recipe. Cook the gluten-free pasta or rice separately according to the package instructions, then add it to the soup just before serving.