However, a lot of games add their own DRM and/or protection scheme that complicates things.
EDIT: technically there are two distinct component: the actual DRM, called steamstub, and the steamwork library, that does not work without steam but it is not considered drm. Both can be easily bypassed/emulated.