an extension box will most likely hang too low, past the surface of the drywall, but it might depend on the light fixture you have weather it will work or not,
can't you just use longer screws to reach the existing box?
can't you just use longer screws to reach the existing box?