Hi welcome to H.C.M.Forum. anal itching during night could be due to worms in the intestine.
some times the pin worms scrawl to the body and cause itching. there may be some boils
under the bone cage.
there may be fungal infection
or pricly heat.
i advise you to cmnsult a skin specialist for diagnosis