Ummm, Jarrad
Do you mean bathroom roof which is outside the house, or bathroom ceiling which is the plasterboard side of the roof cavity?
I am guessing you mean ceiling.
Have you got adequate ventilation in the bathroom if the ceiling is flaking? Fix the ventilation first otherwise your work on fixing the ceiling will be wasted.
Unfortunately, there is not much you can do for peeling paint. Use a glass scraper and gently work your way over the surface with the blade, this will cut the flaky bits back very close to surface level.
Next, use a wide spatula and apply a generous but even coat of plaster skim coat over the entire area working outwards towards the smooth area.
When the skim coat is dry, use a sanding block and just sand lightly over the filling. Use more filling if necessary, the idea is simply to achieve a reasonably smooth surface.
Use a good quality primer and or sealer over the whole ceiling. I would suggest a long nap roller, as a slight texture to the surface will conceal the repaired area. Use at least two top coats to finish.
Any chance of painting in a colour not white? White will show all the irregularities, whereas even a light cream will be a bit kinder.
Good luck, remember, painting and decorating is addictive!
Cheers
Kristine