It is possible to fix a leaking sunroof yourself if the problem is caused by a clogged drain tube or a worn seal. However, if the problem is more complex, it may be best to take your vehicle to a professional mechanic for a proper diagnosis and repair.