or you can run Raster to point, add a column/attribute to the point feature class, calculate the elevation, then convert it back using Point to raster with the appropriate value field and using the original DEM as a snap raster/source for the pixel size.