The present invention relates to a composition comprising hydrogels from functionalized hyaluronic acid derivatives, said hydrogels loaded with exogenous enzymes selected in the group consisting of prolyl endopeptidase (PEP) and endoprotease (EP) intended for the oral treatment of celiac disease. Specifically, this invention concerns a one-pot methodology useful to prepare methacrylic derivatives of hyaluronic acid, through the formation of a specific active group on hydroxyl groups of hyaluronic acid, the subsequent substitution of the inserted active group with ethylenediamine and finally, the reaction with methacrylic anhydride. The obtained methacrylic hyaluronic acid derivatives are used to prepare hydrogels through irradiation and loaded with exogenous enzymes selected in the group consisting of prolyl endopeptidase (PEP) and endoprotease (EP). The ability of prepared hydrogels to allow the enzyme release, as active form in simulated gastrointestinal fluids is proved.