There is a cooking mechanic already though you can only use it when you're on "dungeons" with resting areas or camps, if you know any recipe and have the ingredients to make it then you can cook it to boost your stats temporarily