That is functionally what aluminum (aluminum oxide) and stainless steel (chromium oxide) do. Form an oxide layer which prevents (reduces) further oxidation. Sometimes people are confused about stainless because there is iron present and it can develop some red iron oxides in some alloys.