What are the bumps in the F-22 Raptor wing for?
Yes they are fairings for the actuating mechanism for the control surface.  I can't speak directly to the F-22's details but, this kind of thing is done on lots of airplanes.  The F-22's control surface blister fairings are perhaps a bit more sophisticated and 100 times more expensive, but the concept isn't all that special.
The blister on the fixed structure will have an overlap with the blister on the moving element.  The blister on the moving element, like the aileron in the image below, will slip under the fixed part of the blister when it moves down, and there will be additional material forward of the joint that is exposed when the aileron moves up to maintain the contour.
In the somewhat grainy image, you can make out a dark line along the interface between aileron and wing that follows the profile of the blister (along with staining that could be discoloration from seeping hydraulic fluid).  There is likely a flexible seal strip to provide the smoothest possible transition but with enough compliance to accommodate the geometric changes in the surface contour, as the two halves of the bulge telescope with each other, and still keep the aerodynamic seal.

In profile it would look something like this: