Formally it is perfectly correct as "себя" refers to the subject of the sentence. But I agree that for the ear of native speaker it can be a bit ambiguous. For the better style I propose to remove...