Yes, rhubarb typically needs to be cooked before baking. Rhubarb is quite tart and fibrous when raw, so it's usually stewed or cooked with sugar to soften it and reduce its tartness before being used in sweet recipes such as pies, crisps, or cakes. Cooking the rhubarb also helps to release its juices, which can then be used in the baking process.